fix for too early included new cmake policy

This commit is contained in:
filux 2015-10-07 21:12:04 +02:00
parent 563837ba7a
commit 02fe61ef97
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ IF(NOT CMAKE_BUILD_TYPE)
ENDIF()
SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS None Debug Release RelWithDebInfo MinSizeRel)
IF(CMAKE_VERSION VERSION_GREATER "3.0")
IF(NOT CMAKE_VERSION VERSION_LESS "3.1")
cmake_policy(SET CMP0054 NEW)
ENDIF()