Git commit 14dc0febd5acea85b6971686812e92732a03575a by Luigi Toscano. Committed on 31/08/2017 at 20:02. Pushed by ltoscano into branch 'master'. Disable CMP0063 though ECM KDECompilerSettings already takes care of it, makes this global by including it with NO_POLICY_SCOPE. This is the suggested setting. M +1 -4 CMakeLists.txt https://commits.kde.org/smb4k/14dc0febd5acea85b6971686812e92732a03575a diff --git a/CMakeLists.txt b/CMakeLists.txt index 467d183..957ff93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,15 +8,12 @@ set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_P= ATCH}) = cmake_minimum_required(VERSION 3.2 FATAL_ERROR) cmake_policy(SET CMP0037 NEW) -if(POLICY CMP0063) - cmake_policy(SET CMP0063 NEW) -endif() = find_package(ECM 1.1.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) = include(KDEInstallDirs) -include(KDECompilerSettings) +include(KDECompilerSettings NO_POLICY_SCOPE) include(KDECMakeSettings) include(FeatureSummary) include(ECMInstallIcons)