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 00eda9c commit 6ebb9a4Copy full SHA for 6ebb9a4
CMakeLists.txt
@@ -6,6 +6,11 @@ set(CMAKE_CXX_STANDARD 17)
6
set(CMAKE_CXX_STANDARD_REQUIRED ON)
7
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
8
9
+if (MSVC)
10
+ # For MSVC to get things like "or", "and", ...
11
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /permissive-")
12
+endif()
13
+
14
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules")
15
16
# This ensures any link paths used at build time are preserved in
0 commit comments