Commit 6d647ff4 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr

Better way to set NO_POLICY_SCOPE.

parent a38cdead
......@@ -26,9 +26,6 @@
project(artikulate)
cmake_minimum_required(VERSION 3.0.0)
if (POLICY CMP0063)
cmake_policy(SET CMP0063 NEW)
endif()
find_package(ECM 5.15.0 REQUIRED NO_MODULE)
find_package(KF5DocTools)
......@@ -37,7 +34,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(KDEInstallDirs)
include(ECMAddTests)
include(KDECMakeSettings)
include(KDECompilerSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMInstallIcons)
include(ECMOptionalAddSubdirectory)
include(ECMSetupVersion)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment