CMP0043 doesn't apply <3.0.0

This commit is contained in:
Teo Mrnjavac 2014-10-14 17:10:43 +02:00
parent 0436aa0ea0
commit e648f23e18

View File

@ -20,7 +20,9 @@ endif()
cmake_policy( SET CMP0023 OLD )
# Keep cmake 3.0 quiet
cmake_policy( SET CMP0043 OLD )
if( ${CMAKE_VERSION} VERSION_LESS "3.0.0" )
cmake_policy( SET CMP0043 OLD )
endif()
include( MacroOptionalFindPackage )
include( MacroLogFeature )