Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 16 Lines | |||||
17 | # require at least gcc 4.8 | 17 | # require at least gcc 4.8 | ||
18 | if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") | 18 | if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") | ||
19 | if ("${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "4.8") | 19 | if ("${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "4.8") | ||
20 | message(SEND_ERROR "Version ${CMAKE_CXX_COMPILER_VERSION} of the ${CMAKE_CXX_COMPILER_ID} C++ compiler is not supported. Please use version 4.8 or later.") | 20 | message(SEND_ERROR "Version ${CMAKE_CXX_COMPILER_VERSION} of the ${CMAKE_CXX_COMPILER_ID} C++ compiler is not supported. Please use version 4.8 or later.") | ||
21 | endif() | 21 | endif() | ||
22 | endif() | 22 | endif() | ||
23 | 23 | | |||
24 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets DBus X11Extras) | 24 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets DBus X11Extras) | ||
25 | find_package(KF5 REQUIRED COMPONENTS Activities Auth IdleTime Config DBusAddons Solid I18n GlobalAccel KIO NotifyConfig Screen KDELibs4Support Wayland) | 25 | find_package(KF5 REQUIRED COMPONENTS Activities Auth IdleTime Config DBusAddons Solid I18n GlobalAccel KIO NotifyConfig Screen Wayland DocTools Crash Notifications) | ||
26 | find_package(LibKWorkspace CONFIG REQUIRED) | 26 | find_package(LibKWorkspace CONFIG REQUIRED) | ||
27 | 27 | | |||
28 | find_package(KF5BluezQt) | 28 | find_package(KF5BluezQt) | ||
29 | set_package_properties(KF5BluezQt | 29 | set_package_properties(KF5BluezQt | ||
30 | PROPERTIES DESCRIPTION "Qt wrapper for BlueZ 5 DBus API" | 30 | PROPERTIES DESCRIPTION "Qt wrapper for BlueZ 5 DBus API" | ||
31 | TYPE OPTIONAL | 31 | TYPE OPTIONAL | ||
32 | PURPOSE "Support for wireless energy saving actions" | 32 | PURPOSE "Support for wireless energy saving actions" | ||
33 | ) | 33 | ) | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |