Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | |||||
60 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | 60 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | ||
61 | 61 | | |||
62 | find_package(KF5Activities QUIET) | 62 | find_package(KF5Activities QUIET) | ||
63 | set_package_properties(KF5Activities PROPERTIES | 63 | set_package_properties(KF5Activities PROPERTIES | ||
64 | PURPOSE "Provides the activities:/ kioslave and fileitem plugin." | 64 | PURPOSE "Provides the activities:/ kioslave and fileitem plugin." | ||
65 | TYPE OPTIONAL | 65 | TYPE OPTIONAL | ||
66 | ) | 66 | ) | ||
67 | 67 | | |||
68 | find_package(KF5ActivitiesStats QUIET) | ||||
kossebau: Please add a min version, as the code seems to rely on new API only added recently:
```… | |||||
See D23556 meven: See D23556 | |||||
kossebau: Thanks for the quick fixes :) | |||||
69 | set_package_properties(KF5ActivitiesStats PROPERTIES | ||||
70 | PURPOSE "Provides the recentlyused:/ kioslave." | ||||
71 | TYPE OPTIONAL | ||||
72 | ) | ||||
73 | | ||||
68 | find_package(Phonon4Qt5 4.6.60 NO_MODULE) | 74 | find_package(Phonon4Qt5 4.6.60 NO_MODULE) | ||
69 | set_package_properties(Phonon4Qt5 PROPERTIES | 75 | set_package_properties(Phonon4Qt5 PROPERTIES | ||
70 | DESCRIPTION "Qt-based audio library" | 76 | DESCRIPTION "Qt-based audio library" | ||
71 | PURPOSE "Required for the audio preview plugin" | 77 | PURPOSE "Required for the audio preview plugin" | ||
72 | TYPE OPTIONAL) | 78 | TYPE OPTIONAL) | ||
73 | 79 | | |||
74 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | 80 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
75 | 81 | | |||
▲ Show 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | |||||
138 | endif() | 144 | endif() | ||
139 | 145 | | |||
140 | add_subdirectory( doc ) | 146 | add_subdirectory( doc ) | ||
141 | 147 | | |||
142 | add_subdirectory( about ) | 148 | add_subdirectory( about ) | ||
143 | if(KF5Activities_FOUND) | 149 | if(KF5Activities_FOUND) | ||
144 | add_subdirectory( activities ) | 150 | add_subdirectory( activities ) | ||
145 | endif() | 151 | endif() | ||
152 | if(KF5ActivitiesStats_FOUND) | ||||
153 | add_subdirectory( recentlyused ) | ||||
154 | endif() | ||||
146 | add_subdirectory( bookmarks ) | 155 | add_subdirectory( bookmarks ) | ||
147 | add_subdirectory( filter ) | 156 | add_subdirectory( filter ) | ||
148 | if(Phonon4Qt5_FOUND) | 157 | if(Phonon4Qt5_FOUND) | ||
149 | add_subdirectory( kfileaudiopreview ) | 158 | add_subdirectory( kfileaudiopreview ) | ||
150 | endif() | 159 | endif() | ||
151 | add_subdirectory( info ) | 160 | add_subdirectory( info ) | ||
152 | add_subdirectory( archive ) | 161 | add_subdirectory( archive ) | ||
153 | if(NOT WIN32) | 162 | if(NOT WIN32) | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |
Please add a min version, as the code seems to rely on new API only added recently: