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 2a11b6b commit 342397dCopy full SHA for 342397d
CMakeLists.txt
@@ -46,6 +46,13 @@ 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>")
54
+endif()
55
+
56
#
57
# option list
58
0 commit comments