Enable CMake policy CMP0028.

main
Teo Mrnjavac 10 years ago
parent 804c0c141b
commit 3e4b19400a

@ -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 )

Loading…
Cancel
Save