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 9fe7969 commit 7a950e0Copy full SHA for 7a950e0
CMakeLists.txt
@@ -33,9 +33,9 @@ elseif(NOT CMAKE_CXX_STANDARD)
33
set(CMAKE_CXX_STANDARD_REQUIRED ON)
34
endif()
35
36
-# make sure __cplusplus is defined when using msvc and enable parallel build
+# under msvc make sure __cplusplus, parallel build and utf-8 enabled
37
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
38
- string(APPEND CMAKE_CXX_FLAGS " /Zc:__cplusplus /MP")
+ string(APPEND CMAKE_CXX_FLAGS " /Zc:__cplusplus /MP /utf-8")
39
40
41
set(CMAKE_CXX_EXTENSIONS OFF)
0 commit comments