From 34bfc49189ced0d69ab253b5a10226995e008f04 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Tue, 5 Nov 2019 09:47:05 +0000 Subject: [PATCH] adjust cmake include order --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf72544892..1c5c298c40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,6 @@ find_package(ECM 5.38 REQUIRED NO_MODULE) include(FeatureSummary) include(WriteBasicConfigVersionFile) include(GenerateExportHeader) -include(KDEClangFormat) # 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}) @@ -45,6 +44,7 @@ endif() include(KDEInstallDirs) include(KDECMakeSettings) include(KDECompilerSettings NO_POLICY_SCOPE) +include(KDEClangFormat) include(ECMInstallIcons) include(ECMOptionalAddSubdirectory)