We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8992c78 + de6cd85 commit 75e4dabCopy full SHA for 75e4dab
CMakeLists.txt
@@ -1,5 +1,5 @@
1
# Defines ChainBase library target.
2
-cmake_minimum_required( VERSION 3.5 )
+cmake_minimum_required( VERSION 3.12 )
3
project( ChainBase )
4
5
#list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
@@ -17,6 +17,9 @@ IF( WIN32 )
17
ENDIF(WIN32)
18
19
if(NOT TARGET Boost::unit_test_framework)
20
+ if(POLICY CMP0167)
21
+ cmake_policy(SET CMP0167 NEW)
22
+ endif()
23
FIND_PACKAGE(Boost 1.67 REQUIRED COMPONENTS system unit_test_framework)
24
endif()
25
0 commit comments