mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
Fixed MSVC source encoding to UTF-8
This commit is contained in:
parent
ee52e412fa
commit
ab7e832218
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17)
|
|||
|
||||
if(MSVC)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE /W4)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /source-charset:UTF-8")
|
||||
else()
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -lstdc++fs
|
||||
# additional warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue