Commit 704ca16b authored by Laurent Montel's avatar Laurent Montel 😁

GIT_SILENT: Use KF5_MIN_VERSION as KF5_VERSION will be overridden by first KF5...

GIT_SILENT: Use KF5_MIN_VERSION as KF5_VERSION will be overridden by first KF5 find_package version as Found by Andreas Sturmlechner
parent 613f30eb
......@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 2.8.12)
project(kteatime)
set(QT_MIN_VERSION "5.9.0")
set(KF5_VERSION "5.46.0")
set(KF5_MIN_VERSION "5.46.0")
find_package(ECM ${KF5_VERSION} REQUIRED NO_MODULE)
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(ECMInstallIcons)
......@@ -15,7 +15,7 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
Widgets
)
find_package(KF5 ${KF5_VERSION} REQUIRED
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
Config
Crash
DocTools
......
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