Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 39 Lines | 36 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS | |||
---|---|---|---|---|---|
40 | GlobalAccel | 40 | GlobalAccel | ||
41 | I18n | 41 | I18n | ||
42 | Plasma | 42 | Plasma | ||
43 | ) | 43 | ) | ||
44 | find_package(PulseAudio 5.0.0 REQUIRED) | 44 | find_package(PulseAudio 5.0.0 REQUIRED) | ||
45 | find_package(Canberra REQUIRED) | 45 | find_package(Canberra REQUIRED) | ||
46 | find_package(GLIB2 REQUIRED) | 46 | find_package(GLIB2 REQUIRED) | ||
47 | 47 | | |||
48 | find_package(CanberraPulse) | ||||
49 | set_package_properties(CanberraPulse PROPERTIES | ||||
50 | DESCRIPTION "Pulseaudio backend for libcanberra" | ||||
51 | PURPOSE "Required for volume feedback sounds" | ||||
52 | TYPE RUNTIME | ||||
53 | ) | ||||
54 | | ||||
55 | find_package(SoundThemeFreedesktop) | ||||
56 | set_package_properties(SoundThemeFreedesktop PROPERTIES | ||||
57 | DESCRIPTION "The standard freedesktop sound theme" | ||||
58 | PURPOSE "Required for volume feedback sounds" | ||||
59 | URL "https://www.freedesktop.org/wiki/Specifications/sound-theme-spec/" | ||||
60 | TYPE RUNTIME | ||||
61 | ) | ||||
62 | | ||||
48 | find_package(KF5Kirigami2 ${KF5_MIN_VERSION} CONFIG) | 63 | find_package(KF5Kirigami2 ${KF5_MIN_VERSION} CONFIG) | ||
49 | set_package_properties(KF5Kirigami2 PROPERTIES | 64 | set_package_properties(KF5Kirigami2 PROPERTIES | ||
50 | DESCRIPTION "A QtQuick based components set" | 65 | DESCRIPTION "A QtQuick based components set" | ||
51 | PURPOSE "Required at runtime the KCM" | 66 | PURPOSE "Required at runtime the KCM" | ||
52 | TYPE RUNTIME | 67 | TYPE RUNTIME | ||
53 | ) | 68 | ) | ||
54 | 69 | | |||
55 | configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) | 70 | configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) | ||
56 | 71 | | |||
57 | add_subdirectory(applet) | 72 | add_subdirectory(applet) | ||
58 | add_subdirectory(src) | 73 | add_subdirectory(src) | ||
59 | add_subdirectory(data) | 74 | add_subdirectory(data) | ||
60 | add_subdirectory(doc) | 75 | add_subdirectory(doc) | ||
61 | 76 | | |||
62 | feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) | 77 | feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) |