summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-22 06:44:11 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-22 06:44:11 (GMT)
commitfe922337fca957b520eec271debe8c0a3593b44e (patch)
treeefdb5717f8ae568dea5efec55754f4a3764714f4
parentbc96a603ee7863119b5097f88ea13973f3978170 (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 a011cfd..e3b2724 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.8.12)
project(Syndication)
# ECM setup
-find_package(ECM 5.23.0 CONFIG REQUIRED)
+set(KF5_VERSION "5.25.0")
+find_package(ECM ${KF5_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(GenerateExportHeader)
@@ -17,7 +18,6 @@ include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
-set(KF5_VERSION "5.25.0")
set(SYNDICATION_LIB_VERSION "5.3.40")
ecm_setup_version(${SYNDICATION_LIB_VERSION} VARIABLE_PREFIX SYNDICATION