Enable CMake policy CMP0028.

This commit is contained in:
Teo Mrnjavac 2015-07-01 18:58:30 +02:00
parent 804c0c141b
commit 3e4b19400a

View File

@ -39,6 +39,7 @@ if( CMAKE_COMPILER_IS_GNUCXX )
endif() endif()
cmake_policy( SET CMP0023 OLD ) cmake_policy( SET CMP0023 OLD )
cmake_policy( SET CMP0028 NEW ) # double colons in KF5::Foo and Qt5::Foo are necessarily IMPORTED or ALIAS targets, don't search further
# Keep cmake 3.0 quiet # Keep cmake 3.0 quiet
if( POLICY CMP0043 ) if( POLICY CMP0043 )