We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8784b commit 1a05004Copy full SHA for 1a05004
CMakeLists.txt
@@ -46,11 +46,9 @@ if (WIN32)
46
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
47
endif()
48
49
-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
50
- add_compile_options("$<$<COMPILE_LANGUAGE:C>:/source-charset:utf-8>")
51
- add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/source-charset:utf-8>")
52
- add_compile_options("$<$<COMPILE_LANGUAGE:C>:/execution-charset:utf-8>")
53
- add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/execution-charset:utf-8>")
+if (MSVC)
+ add_compile_options("$<$<COMPILE_LANGUAGE:C>:/utf-8>")
+ add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/utf-8>")
54
55
56
#
0 commit comments