Commit 6ee5dab5 authored by Laurent Montel's avatar Laurent Montel 😁

Add version as for other module

parent 5638483b
......@@ -4,6 +4,9 @@ set(PROJECT_VERSION_MAJOR 5)
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
set(QT_MIN_VERSION "5.11.0")
set(KF5_MIN_VERSION "5.50.0")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/libkhotkeysprivate
......@@ -11,7 +14,7 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
find_package(ECM 1.1.0 REQUIRED NO_MODULE)
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(KDEInstallDirs)
......@@ -20,7 +23,7 @@ include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMPackageConfigHelpers)
include(ECMOptionalAddSubdirectory)
find_package(KF5 REQUIRED COMPONENTS
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
GlobalAccel
I18n
KIO
......
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