mirror of https://github.com/procxx/kepka.git
Fix cmake version check for policy introduced in 3.10
This commit is contained in:
parent
4dfff378a0
commit
03b2257931
|
@ -5,7 +5,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cotire/CMake;${PROJECT_SOURCE_DIR}/mo
|
|||
include(cotire)
|
||||
include(CTest)
|
||||
|
||||
if (CMAKE_VERSION VERSION_GREATER 3.9)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.10)
|
||||
cmake_policy(SET CMP0071 NEW)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue