Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 35 Lines | 33 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS | |||
---|---|---|---|---|---|
36 | ConfigWidgets | 36 | ConfigWidgets | ||
37 | Crash | 37 | Crash | ||
38 | DBusAddons | 38 | DBusAddons | ||
39 | DocTools | 39 | DocTools | ||
40 | GlobalAccel | 40 | GlobalAccel | ||
41 | I18n | 41 | I18n | ||
42 | IconThemes | 42 | IconThemes | ||
43 | Notifications | 43 | Notifications | ||
44 | Plasma | | |||
45 | Solid | 44 | Solid | ||
46 | WidgetsAddons | 45 | WidgetsAddons | ||
47 | WindowSystem | 46 | WindowSystem | ||
48 | XmlGui | 47 | XmlGui | ||
49 | ) | 48 | ) | ||
50 | 49 | | |||
50 | find_package(Plasma ${KF5_MIN_VERSION}) | ||||
51 | set_package_properties(Plasma PROPERTIES | ||||
52 | TYPE OPTIONAL | ||||
53 | PURPOSE "Required to build Plasma data engine" | ||||
54 | ) | ||||
55 | | ||||
51 | set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH}) | 56 | set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH}) | ||
52 | 57 | | |||
53 | # PulseAudio is an optional dependency | 58 | # PulseAudio is an optional dependency | ||
54 | # | 59 | # | ||
55 | find_package(PulseAudio "${PA_MIN_VERSION}") | 60 | find_package(PulseAudio "${PA_MIN_VERSION}") | ||
56 | 61 | | |||
57 | # PulseAudio requires GLib2 | 62 | # PulseAudio requires GLib2 | ||
58 | if (PulseAudio_FOUND) | 63 | if (PulseAudio_FOUND) | ||
▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
106 | #################################################################################################### | 111 | #################################################################################################### | ||
107 | ########### subdirectories ######################################################################### | 112 | ########### subdirectories ######################################################################### | ||
108 | #################################################################################################### | 113 | #################################################################################################### | ||
109 | 114 | | |||
110 | add_subdirectory(doc) | 115 | add_subdirectory(doc) | ||
111 | add_subdirectory(pics) | 116 | add_subdirectory(pics) | ||
112 | add_subdirectory(profiles) | 117 | add_subdirectory(profiles) | ||
113 | #add_subdirectory(tests) | 118 | #add_subdirectory(tests) | ||
119 | if (Plasma_FOUND) | ||||
114 | add_subdirectory(plasma) | 120 | add_subdirectory(plasma) | ||
121 | endif (Plasma_FOUND) | ||||
115 | 122 | | |||
116 | #################################################################################################### | 123 | #################################################################################################### | ||
117 | ########### definitions: logging ################################################################### | 124 | ########### definitions: logging ################################################################### | ||
118 | #################################################################################################### | 125 | #################################################################################################### | ||
119 | 126 | | |||
120 | ecm_qt_declare_logging_category(kmix_debug_SRCS | 127 | ecm_qt_declare_logging_category(kmix_debug_SRCS | ||
121 | HEADER kmix_debug.h | 128 | HEADER kmix_debug.h | ||
122 | IDENTIFIER KMIX_LOG | 129 | IDENTIFIER KMIX_LOG | ||
▲ Show 20 Lines • Show All 228 Lines • Show Last 20 Lines |