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 34bd17d commit af06c90Copy full SHA for af06c90
cmake/modules/3rdPartyFunctions.cmake
@@ -7,7 +7,9 @@ endif ()
7
set(THIRD_PARTY_FUNCTIONS_MODULE_LOADED YES)
8
9
# prefer upstream find module of Boost
10
-cmake_policy(SET CMP0167 NEW)
+if (POLICY CMP0167)
11
+ cmake_policy(SET CMP0167 NEW)
12
+endif ()
13
14
cmake_policy(SET CMP0067 NEW) # make check_cxx_source_compiles() pick up the variables for the C++ version
15
include(CheckCXXSourceCompiles)
0 commit comments