summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-05-22 07:06:22 +0200
committerMontel Laurent <[email protected]>2016-05-22 07:06:38 +0200
commit243167668e7c528238d19739eb91fd8d86a3561e (patch)
treea2e8b21e56a626120d12313e816768dc53090502
parent709baafe7c8f03ddf1de7ec94b3131c0041397e6 (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 e8833b4..b7cea83 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.8.12)
project(eventviews)
# ECM setup
-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 ${ECM_MODULE_PATH})
set(LIBRARY_NAMELINK)
include(GenerateExportHeader)
@@ -22,7 +23,6 @@ include(ECMAddTests)
set(PIM_VERSION "5.2.40")
set(EVENTVIEW_LIB_VERSION ${PIM_VERSION})
-set(KF5_VERSION "5.19.0")
set(CALENDARUTILS_LIB_VERSION "5.2.40")
set(KDEPIMLIBS_LIB_VERSION "5.2.40")
set(QT_REQUIRED_VERSION "5.4.0")