Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 26 Lines | |||||
27 | 27 | | |||
28 | include(KDEInstallDirs) | 28 | include(KDEInstallDirs) | ||
29 | include(KDECMakeSettings) | 29 | include(KDECMakeSettings) | ||
30 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | 30 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | ||
31 | include(ECMInstallIcons) | 31 | include(ECMInstallIcons) | ||
32 | include(ECMSetupVersion) | 32 | include(ECMSetupVersion) | ||
33 | include(FeatureSummary) | 33 | include(FeatureSummary) | ||
34 | include(ECMQtDeclareLoggingCategory) | 34 | include(ECMQtDeclareLoggingCategory) | ||
35 | include(ECMAddTests) | ||||
35 | 36 | | |||
36 | find_package( | 37 | find_package( | ||
37 | Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED | 38 | Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED | ||
38 | Core | 39 | Core | ||
39 | Concurrent | 40 | Concurrent | ||
40 | Widgets | 41 | Widgets | ||
41 | DBus | 42 | DBus | ||
42 | PrintSupport | 43 | PrintSupport | ||
43 | Quick | 44 | Quick | ||
45 | Test | ||||
44 | ) | 46 | ) | ||
45 | 47 | | |||
46 | find_package( | 48 | find_package( | ||
47 | KF5 ${KF5_MIN_VERSION} REQUIRED | 49 | KF5 ${KF5_MIN_VERSION} REQUIRED | ||
48 | CoreAddons | 50 | CoreAddons | ||
49 | WidgetsAddons | 51 | WidgetsAddons | ||
50 | DBusAddons | 52 | DBusAddons | ||
51 | Notifications | 53 | Notifications | ||
▲ Show 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
101 | 103 | | |||
102 | # hand off to subdirectories | 104 | # hand off to subdirectories | ||
103 | 105 | | |||
104 | add_subdirectory(src) | 106 | add_subdirectory(src) | ||
105 | add_subdirectory(dbus) | 107 | add_subdirectory(dbus) | ||
106 | add_subdirectory(desktop) | 108 | add_subdirectory(desktop) | ||
107 | add_subdirectory(icons) | 109 | add_subdirectory(icons) | ||
108 | add_subdirectory(doc) | 110 | add_subdirectory(doc) | ||
111 | add_subdirectory(tests) | ||||
109 | 112 | | |||
110 | install( FILES spectacle.categories DESTINATION ${KDE_INSTALL_CONFDIR} ) | 113 | install( FILES spectacle.categories DESTINATION ${KDE_INSTALL_CONFDIR} ) | ||
111 | # summaries | 114 | # summaries | ||
112 | 115 | | |||
113 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) | 116 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) |