Don't set CMP0043 on old CMake, take 3.

This commit is contained in:
Teo Mrnjavac 2014-10-14 17:17:41 +02:00
parent b49b05f209
commit 068c6e9f8a

View file

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