Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 56b67cea authored by Laurent Montel's avatar Laurent Montel 😁

Increase version + simplify check

parent 5b73442c
......@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 3.1)
project(%{APPNAMELC})
set(ECM_MIN_VERSION "5.22.0")
set(KF5_MIN_VERSION "5.22.0")
set(ECM_MIN_VERSION ${KF5_MIN_VERSION})
find_package(ECM ${ECM_MIN_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
......@@ -13,10 +15,9 @@ include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
set(QT_MIN_VERSION "5.6.0")
set(QT_MIN_VERSION "5.7.0")
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED Core DBus Gui)
set(KF5_MIN_VERSION "5.22.0")
find_package(KF5Config ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(AKONADI_MIN_VERSION "5.2")
......
......@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 3.1)
project(%{APPNAMELC})
set(ECM_MIN_VERSION "5.22.0")
set(KF5_MIN_VERSION "5.22.0")
set(ECM_MIN_VERSION ${KF5_MIN_VERSION})
find_package(ECM ${ECM_MIN_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
......@@ -12,10 +14,9 @@ include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
set(QT_MIN_VERSION "5.6.0")
set(QT_MIN_VERSION "5.7.0")
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED Core Network Gui)
set(KF5_MIN_VERSION "5.22.0")
find_package(KF5Config ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(AKONADI_MIN_VERSION "5.2")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment