summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-05-22 07:22:31 +0200
committerMontel Laurent <[email protected]>2016-05-22 07:22:40 +0200
commitf1081f268adf4ba172cdb66b462f7908c57433e0 (patch)
tree8ce8e7f1dfb35b33a066cf1fbdbde9673a485f45
parent072f51aa84435e5e42c3cfd81734b4bdde25342f (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 b956150..6e84ae9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 2.8.12)
project(libkleo)
-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)
@@ -19,7 +20,6 @@ include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
set(PIM_VERSION "5.2.42")
-set(KF5_VERSION "5.19.0")
set(LIBKLEO_LIB_VERSION ${PIM_VERSION})
set(QT_REQUIRED_VERSION "5.4.0")
set(GPGMEPP_LIB_VERSION "5.2.40")