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.
2 parents f24ddb0 + 6387a7b commit 96c1e47Copy full SHA for 96c1e47
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