Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Defines ChainBase library target.
cmake_minimum_required( VERSION 3.5 )
cmake_minimum_required( VERSION 3.12 )
project( ChainBase )

#list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
Expand All @@ -17,6 +17,9 @@ IF( WIN32 )
ENDIF(WIN32)

if(NOT TARGET Boost::unit_test_framework)
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()
FIND_PACKAGE(Boost 1.67 REQUIRED COMPONENTS system unit_test_framework)
endif()

Expand Down
Loading