Commit 39786a6c authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Include all CMake macros after ECM inclusion

For consistency w/ other Plasma code repos
parent 536223cf
......@@ -12,8 +12,6 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
message(FATAL_ERROR "plasmate requires an out of source build. Please create a separate build directory and run 'cmake path_to_plasmate [options]' there.")
endif()
include(FeatureSummary)
################# set KDE specific information #################
find_package(ECM 1.8.0 REQUIRED NO_MODULE)
......@@ -21,6 +19,11 @@ find_package(ECM 1.8.0 REQUIRED NO_MODULE)
# 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})
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(FeatureSummary)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core DBus Gui Qml Quick Svg Widgets Xml)
find_package(Qt5Test ${QT_MIN_VERSION} CONFIG QUIET)
......@@ -43,10 +46,6 @@ set_package_properties(KF5Kirigami2 PROPERTIES
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
if(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED)
set(KDE_NO_DEPRECATED TRUE)
set(CMAKE_AUTOMOC_MOC_OPTIONS "-DKDE_NO_DEPRECATED")
......
Supports Markdown
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