summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-22 06:48:22 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-22 06:48:22 (GMT)
commitc2c0a34d4145eb8a0187348e4f51784ab8d12f66 (patch)
tree8e2c3015a1e03d60807eaf0d3c78d7655fed9cad
parentcd86a514f1fdf07e21942a9b9f06484fc20d36f0 (diff)
Use KF5_VERSION for ecm too
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c57c33a..3cf91bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,8 @@ project(Akonadi)
cmake_minimum_required(VERSION 2.8.12)
# ECM setup
-find_package(ECM 5.16.0 CONFIG REQUIRED)
+set(KF5_VERSION "5.24.0")
+find_package(ECM ${KF5_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
include(GenerateExportHeader)
@@ -24,7 +25,6 @@ set(PIM_VERSION "5.3.42")
set(QT_REQUIRED_VERSION "5.5.0")
set(AKONADI_VERSION ${PIM_VERSION})
-set(KF5_VERSION "5.24.0")
ecm_setup_version(${AKONADI_VERSION}
VARIABLE_PREFIX AKONADI