fix for too early included new cmake policy
This commit is contained in:
parent
563837ba7a
commit
02fe61ef97
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue