Bump min Qt to 5.9 & min KF5 to 5.37

parent 9242475b
......@@ -2,8 +2,11 @@ cmake_minimum_required(VERSION 3.0)
project(kdnssd)
find_package(ECM 0.0.10 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
set(QT_MIN_VERSION "5.9.0")
set(KF_MIN_VERSION "5.37.0")
find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
......@@ -11,7 +14,9 @@ include(KDECMakeSettings)
include(FeatureSummary)
find_package(KF5 REQUIRED COMPONENTS DBusAddons DNSSD I18n KIO)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core)
find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS DBusAddons DNSSD I18n KIO)
add_subdirectory(ioslave)
add_subdirectory(kdedmodule)
......
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