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

Have a single grouping of cmake macro includes, as done elsewhere

parent 49214626
......@@ -4,12 +4,23 @@ project(libksysguard)
set(PROJECT_VERSION "5.12.80")
set(PROJECT_VERSION_MAJOR 5)
include(FeatureSummary)
include(WriteBasicConfigVersionFile)
find_package(ECM 5.30 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMAddTests)
include(ECMInstallIcons)
include(ECMSetupVersion)
include(ECMQtDeclareLoggingCategory)
include(CMakePackageConfigHelpers)
include(CheckIncludeFiles)
include(CheckLibraryExists)
include(FeatureSummary)
find_package(Qt5 REQUIRED CONFIG COMPONENTS DBus Network Widgets)
find_package(Qt5WebKitWidgets CONFIG)
set_package_properties(Qt5WebKitWidgets PROPERTIES
......@@ -34,18 +45,6 @@ set_package_properties(ZLIB PROPERTIES DESCRIPTION "Support for gzip compressed
TYPE REQUIRED
)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMAddTests)
include(ECMInstallIcons)
include(CheckIncludeFiles)
include(CheckLibraryExists)
include(ECMSetupVersion)
include(ECMQtDeclareLoggingCategory)
include(CMakePackageConfigHelpers)
check_library_exists(c clock_gettime "time.h" HAVE_CLOCK_GETTIME_C)
ecm_setup_version(${PROJECT_VERSION}
......
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