Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Line(s) | |||||
105 | # fail build if none of the platform backends can be found | 105 | # fail build if none of the platform backends can be found | ||
106 | if (NOT XCB_FOUND OR NOT XCB_COMPONENTS_FOUND) | 106 | if (NOT XCB_FOUND OR NOT XCB_COMPONENTS_FOUND) | ||
107 | message(FATAL_ERROR "No suitable backend platform was found. Currently supported platforms are: XCB Components Required: ${XCB_COMPONENTS_ERRORS}") | 107 | message(FATAL_ERROR "No suitable backend platform was found. Currently supported platforms are: XCB Components Required: ${XCB_COMPONENTS_ERRORS}") | ||
108 | endif() | 108 | endif() | ||
109 | 109 | | |||
110 | # hand off to subdirectories | 110 | # hand off to subdirectories | ||
111 | 111 | | |||
112 | add_subdirectory(src) | 112 | add_subdirectory(src) | ||
113 | # add_subdirectory(src/BackendPlugins) | ||||
113 | add_subdirectory(dbus) | 114 | add_subdirectory(dbus) | ||
114 | add_subdirectory(desktop) | 115 | add_subdirectory(desktop) | ||
115 | add_subdirectory(icons) | 116 | add_subdirectory(icons) | ||
116 | add_subdirectory(doc) | 117 | add_subdirectory(doc) | ||
117 | add_subdirectory(tests) | 118 | # add_subdirectory(tests) | ||
118 | 119 | | |||
119 | if (${ECM_VERSION} STRGREATER "5.58.0") | 120 | if (${ECM_VERSION} STRGREATER "5.58.0") | ||
120 | install(FILES spectacle.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) | 121 | install(FILES spectacle.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) | ||
121 | else() | 122 | else() | ||
122 | install(FILES spectacle.categories DESTINATION ${KDE_INSTALL_CONFDIR}) | 123 | install(FILES spectacle.categories DESTINATION ${KDE_INSTALL_CONFDIR}) | ||
123 | endif() | 124 | endif() | ||
124 | # summaries | 125 | # summaries | ||
125 | 126 | | |||
126 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) | 127 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) |