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 3a1b9cd commit 6387a7bCopy full SHA for 6387a7b
CMakeLists.txt
@@ -17,6 +17,11 @@ if(POLICY CMP0076)
17
cmake_policy(SET CMP0076 NEW)
18
endif()
19
20
+# Don't clobber existing variable values when evaluating `option()` declarations.
21
+if(POLICY CMP0077)
22
+ cmake_policy(SET CMP0077 NEW)
23
+endif()
24
+
25
# Add path for custom CMake modules.
26
list(APPEND CMAKE_MODULE_PATH
27
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
0 commit comments