summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-05-20 07:03:56 +0200
committerMontel Laurent <[email protected]>2016-05-20 07:03:56 +0200
commit282f079f63afc791c3da1bfa866a11649befef01 (patch)
tree5d30a0411ecf3a2d6c344d75bc01264a4a533509
parent813308116781b28bf1c1e58cb3a56e640ce87786 (diff)
Don't duplicate variable
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7e179b..6e06159 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,8 @@ set(KDEPIM_RUNTIME_VERSION "${KDEPIM_RUNTIME_VERSION_NUMBER}${KDEPIM_RUNTIME_DEV
configure_file(kdepim-runtime-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdepim-runtime-version.h @ONLY)
-find_package(ECM 5.19 REQUIRED NO_MODULE)
+set(KF5_VERSION "5.22.0")
+find_package(ECM ${KF5_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${kdepim-runtime_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH})
include(ECMPackageConfigHelpers)
@@ -52,7 +53,6 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMInstallIcons)
include(ECMQtDeclareLoggingCategory)
-set(KF5_VERSION "5.19")
set(QT_REQUIRED_VERSION "5.5.0")
set(KDEPIMLIBS_LIB_VERSION "5.2.40")