adjust cmake include order

This commit is contained in:
David Edmundson 2019-11-05 09:47:05 +00:00
parent cd04a6c901
commit 34bfc49189

View file

@ -14,7 +14,6 @@ find_package(ECM 5.38 REQUIRED NO_MODULE)
include(FeatureSummary) include(FeatureSummary)
include(WriteBasicConfigVersionFile) include(WriteBasicConfigVersionFile)
include(GenerateExportHeader) include(GenerateExportHeader)
include(KDEClangFormat)
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
@ -45,6 +44,7 @@ endif()
include(KDEInstallDirs) include(KDEInstallDirs)
include(KDECMakeSettings) include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE) include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDEClangFormat)
include(ECMInstallIcons) include(ECMInstallIcons)
include(ECMOptionalAddSubdirectory) include(ECMOptionalAddSubdirectory)