summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-05-21 14:46:33 +0200
committerMontel Laurent <[email protected]>2016-05-21 14:46:33 +0200
commit9467dd808fe22ff0cfbaa45c5990522c3380193e (patch)
treeeda0af739e1e2a937144dbd9ba938d11bfb23c3b
parent709a8b623092153243cb04bd68d4c74bdb1d29f7 (diff)
Use KF5_VERSION
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f3d1759..fd60265 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 2.8.12)
project(libksieve)
-find_package(ECM 5.19.0 CONFIG REQUIRED)
+set(KF5_VERSION "5.22.0")
+find_package(ECM ${KF5_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${libksieve_SOURCE_DIR}/cmake ${ECM_MODULE_PATH})
set(LIBRARY_NAMELINK)
include(GenerateExportHeader)
@@ -18,7 +19,6 @@ include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
set(PIM_VERSION "5.2.44")
-set(KF5_VERSION "5.19.0")
set(LIBKSIEVE_LIB_VERSION ${PIM_VERSION})
set(KDEPIMLIBS_LIB_VERSION "5.2.40")
set(QT_REQUIRED_VERSION "5.6.0")