--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,9 @@ include(KDECMakeSettings) include(KDECompilerSettings) include(FeatureSummary) +cmake_policy(SET CMP0011 NEW) +cmake_policy(SET CMP0012 NEW) + # line needed to compile the throw code add_definitions(-fexceptions)