fix cmake 3.10 (#3048)
This commit is contained in:
parent
04ab3d7f13
commit
8dbdd24c8e
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ if(POLICY CMP0064)
|
||||||
cmake_policy(SET CMP0064 NEW)
|
cmake_policy(SET CMP0064 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(POLICY CMP0071)
|
||||||
|
cmake_policy(SET CMP0071 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Default to "Release" build type
|
# Default to "Release" build type
|
||||||
# User-provided value for CMAKE_BUILD_TYPE must be checked before the PROJECT() call
|
# User-provided value for CMAKE_BUILD_TYPE must be checked before the PROJECT() call
|
||||||
IF(DEFINED CMAKE_BUILD_TYPE)
|
IF(DEFINED CMAKE_BUILD_TYPE)
|
||||||
|
|
Loading…
Reference in a new issue