From c3d40b942896c253417d73cbcc5480c4258adb89 Mon Sep 17 00:00:00 2001 From: demmm Date: Sat, 5 Jul 2014 17:28:13 -0400 Subject: [PATCH] add ECM to CMakeLists, remove obsolete CONFIG --- src/modules/partition/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/modules/partition/CMakeLists.txt b/src/modules/partition/CMakeLists.txt index 81c36b441..448179002 100644 --- a/src/modules/partition/CMakeLists.txt +++ b/src/modules/partition/CMakeLists.txt @@ -1,6 +1,12 @@ if( WITH_PARTITIONMANAGER ) -find_package( KF5 CONFIG REQUIRED CoreAddons ) +## ECM +find_package(ECM 0.0.13 REQUIRED NO_MODULE) +set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH}) +include(KDEInstallDirs) +include(GenerateExportHeader) + +find_package( KF5 REQUIRED CoreAddons ) add_definitions( -DCALAMARES )