From c66807282bd55fddfc8d7e2fd67b7915b9d900e8 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 11 Jul 2017 06:24:12 -0400 Subject: [PATCH] CMake: remove editorializing from CMakeLists.txt --- src/modules/partition/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/partition/CMakeLists.txt b/src/modules/partition/CMakeLists.txt index 4ecf51016..2dd0ef101 100644 --- a/src/modules/partition/CMakeLists.txt +++ b/src/modules/partition/CMakeLists.txt @@ -1,10 +1,8 @@ -# ECM used for something in the tests directory find_package(ECM 5.10.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH}) -# KF5::CoreAddons seems to be used for *something* in this module, not sure what -include(KDEInstallDirs) # this seems to be necessary for KF5::CoreAddons -include(GenerateExportHeader) # this too, because KDE frameworks always want omnomnom more stuff +include(KDEInstallDirs) +include(GenerateExportHeader) find_package( KF5 REQUIRED CoreAddons ) # These are needed because KPMcore links publicly against ConfigCore, I18n, IconThemes, KIOCore and Service