Fix cmake version check for policy introduced in 3.10

This commit is contained in:
Berkus Decker 2017-12-17 21:09:33 +02:00 committed by Berkus Decker
parent 4dfff378a0
commit 03b2257931
1 changed files with 1 additions and 1 deletions

View File

@ -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()