diff --git a/CMakeLists.txt b/CMakeLists.txt index 738b6cde0..fb417d809 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,7 @@ if( CMAKE_COMPILER_IS_GNUCXX ) endif() 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 if( POLICY CMP0043 )