Skip to content

Commit

Permalink
Compile with /utf-8 on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed Dec 2, 2024
1 parent 061f27d commit c26b3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ if(MSVC)
set(C_FLAGS ${C_FLAGS} $<$<COMPILE_LANGUAGE:CXX>:/permissive->)
endif()
set(C_FLAGS ${C_FLAGS} /W4 /w14640 /wd4065 /wd4127 /wd4268 /wd4324 /wd5030 /wd5051
$<$<COMPILE_LANGUAGE:CXX>:/EHsc>)
$<$<COMPILE_LANGUAGE:CXX>:/EHsc> /utf-8)

if(NOT DXSDK_DIR)
string(REGEX REPLACE "\\\\" "/" DXSDK_DIR "$ENV{DXSDK_DIR}")
Expand Down

0 comments on commit c26b3d8

Please sign in to comment.