Commit 78af9392 authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Cleanup cmakelists

parent 5a47d00c
Pipeline #3605 failed with stage
in 4 minutes and 56 seconds
...@@ -17,7 +17,7 @@ include(FeatureSummary) ...@@ -17,7 +17,7 @@ include(FeatureSummary)
################# set KDE specific information ################# ################# set KDE specific information #################
find_package(ECM 0.0.8 REQUIRED NO_MODULE) find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
...@@ -29,16 +29,13 @@ include(KDECMakeSettings) ...@@ -29,16 +29,13 @@ include(KDECMakeSettings)
include(ECMPoQmTools) include(ECMPoQmTools)
include(KDECompilerSettings NO_POLICY_SCOPE) include(KDECompilerSettings NO_POLICY_SCOPE)
set(KF5_VERSION "5.22.0")
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Quick Gui Svg Test Qml QuickControls2) find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Quick Gui Svg Test Qml QuickControls2)
find_package(KF5Config ${KF5_DEP_VERSION} "5.22.0") find_package(KF5Config)
find_package(KF5Kirigami2 ${KF5_DEP_VERSION} "5.22.0") find_package(KF5Kirigami2)
find_package(KF5Plasma) find_package(KF5Plasma)
find_package(KF5CalendarCore REQUIRED) find_package(KF5CalendarCore REQUIRED)
################# Enable C++11 features for clang and gcc ################# ################# Enable C++11 features for clang and gcc #################
if(UNIX) if(UNIX)
...@@ -47,8 +44,6 @@ endif() ...@@ -47,8 +44,6 @@ endif()
################# now find all used packages ################# ################# now find all used packages #################
set (QT_MIN_VERSION "5.6.0")
find_package(PkgConfig) find_package(PkgConfig)
######################################################################### #########################################################################
......
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