fix cmake 3.10 (#3048)

This commit is contained in:
tooomm
2018-01-25 20:39:10 +01:00
committed by GitHub
parent 04ab3d7f13
commit 8dbdd24c8e

View File

@@ -12,6 +12,10 @@ if(POLICY CMP0064)
cmake_policy(SET CMP0064 NEW)
endif()
if(POLICY CMP0071)
cmake_policy(SET CMP0071 NEW)
endif()
# Default to "Release" build type
# User-provided value for CMAKE_BUILD_TYPE must be checked before the PROJECT() call
IF(DEFINED CMAKE_BUILD_TYPE)