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 181f1e5 commit 4b56f63Copy full SHA for 4b56f63
CMakeLists.txt
@@ -19,6 +19,12 @@ if(POLICY CMP0091)
19
cmake_policy(SET CMP0091 NEW)
20
endif()
21
22
+if(POLICY CMP0092)
23
+ # https://cmake.org/cmake/help/latest/policy/CMP0092.html#policy:CMP0092 Make
24
+ # sure the /W3 is not removed from CMAKE_CXX_FLAGS since CMake 3.15
25
+ cmake_policy(SET CMP0092 OLD)
26
+endif()
27
+
28
# MSVC RTTI flag /GR should not be not added to CMAKE_CXX_FLAGS by default. @see
29
# https://cmake.org/cmake/help/latest/policy/CMP0117.html
30
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.20.0")
0 commit comments