CMP0043 doesn't apply <3.0.0
This commit is contained in:
parent
0436aa0ea0
commit
e648f23e18
@ -20,7 +20,9 @@ endif()
|
|||||||
cmake_policy( SET CMP0023 OLD )
|
cmake_policy( SET CMP0023 OLD )
|
||||||
|
|
||||||
# Keep cmake 3.0 quiet
|
# 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( MacroOptionalFindPackage )
|
||||||
include( MacroLogFeature )
|
include( MacroLogFeature )
|
||||||
|
Loading…
Reference in New Issue
Block a user