aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-05-22 07:13:11 +0200
committerMontel Laurent <[email protected]>2016-05-22 07:13:11 +0200
commite40a833d5f95e57259d8c7114a325f0f3c4a912c (patch)
treee70e5d275f01d2d38976bea9336015a811f9cbe0
parent0225e665dd69dcf7e087d32e5af03c86b1858ed0 (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 b9e357e..93eb755 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.8.12)
project(KContacts)
# 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} ${KContacts_SOURCE_DIR}/cmake)
include(GenerateExportHeader)
@@ -19,7 +20,6 @@ include(ECMQtDeclareLoggingCategory)
set(PIM_VERSION "5.2.40")
-set(KF5_VERSION "5.19.0")
set(KCONTACTS_LIB_VERSION ${PIM_VERSION})
ecm_setup_version(${KCONTACTS_LIB_VERSION} VARIABLE_PREFIX KContacts