Include KDE settings cmake macros first

parent b351632c
...@@ -12,7 +12,10 @@ set(KDEV_PLUGIN_VERSION 32) ...@@ -12,7 +12,10 @@ set(KDEV_PLUGIN_VERSION 32)
find_package (ECM 5.28.0 REQUIRED NO_MODULE) find_package (ECM 5.28.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${KDevelop_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH}) set(CMAKE_MODULE_PATH ${KDevelop_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH})
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE) # needs to be first, as set policies influence following macros include(KDECompilerSettings NO_POLICY_SCOPE) # needs to be first, as set policies influence following macros
include(ECMOptionalAddSubdirectory) include(ECMOptionalAddSubdirectory)
include(ECMInstallIcons) include(ECMInstallIcons)
include(ECMAddAppIcon) include(ECMAddAppIcon)
...@@ -28,9 +31,6 @@ include(FeatureSummary) ...@@ -28,9 +31,6 @@ include(FeatureSummary)
include(WriteBasicConfigVersionFile) include(WriteBasicConfigVersionFile)
include(CheckFunctionExists) include(CheckFunctionExists)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDevelopMacrosInternal) include(KDevelopMacrosInternal)
if(POLICY CMP0071) if(POLICY CMP0071)
......
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