summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-07-02 11:17:02 +0200
committerMontel Laurent <[email protected]>2017-07-02 11:17:02 +0200
commit4b4e62681183a5fb749d275cc815b40e60cf2ebd (patch)
treed229ac8d2ee49462f62e732ddc94a0e7ee1c6a35
parent45e687ae8261e3c112883d7641d3b85d1a7a9ec1 (diff)
Time to increase version
-rw-r--r--CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 82ff946..5fbed4a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,11 +8,11 @@ set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATI
cmake_minimum_required(VERSION 2.8.12)
-find_package(ECM 1.7.0 REQUIRED NO_MODULE)
+find_package(ECM 5.24.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
-find_package(Qt5 5.2.0 CONFIG REQUIRED Core Gui Widgets DBus)
+find_package(Qt5 5.6.0 CONFIG REQUIRED Core Gui Widgets DBus)
include(KDEInstallDirs)
include(KDECMakeSettings)
@@ -27,7 +27,7 @@ ecm_setup_version(${KDE_APPLICATIONS_VERSION} VARIABLE_PREFIX KWALLETMANAGER
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/kwalletmanager_version.h"
)
-find_package(KF5 5.2.0 REQUIRED
+find_package(KF5 5.24 REQUIRED
Archive
Auth
Config
@@ -53,9 +53,7 @@ add_subdirectory( doc )
add_subdirectory( icons )
add_subdirectory( src )
-if("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
- feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
-endif()
+feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
########### install files ###############
install( PROGRAMS org.kde.kwalletmanager5.desktop kwalletmanager5-kwalletd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})