Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 21 Lines | 13 | if (SAILFISHOS) | |||
---|---|---|---|---|---|
22 | include_directories(${QCA2_INCLUDEDIR}) | 22 | include_directories(${QCA2_INCLUDEDIR}) | ||
23 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | 23 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | ||
24 | else() | 24 | else() | ||
25 | set(KF5_MIN_VERSION "5.42.0") | 25 | set(KF5_MIN_VERSION "5.42.0") | ||
26 | set(QT_MIN_VERSION "5.7.0") | 26 | set(QT_MIN_VERSION "5.7.0") | ||
27 | set(KF5_REQUIRED_COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils) | 27 | set(KF5_REQUIRED_COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils) | ||
28 | set(KF5_OPTIONAL_COMPONENTS DocTools) | 28 | set(KF5_OPTIONAL_COMPONENTS DocTools) | ||
29 | if(UNIX) | 29 | if(UNIX) | ||
30 | set(KF5_OPTIONAL_COMPONENTS ${KF5_OPTIONAL_COMPONENTS} PulseAudioQt) | 30 | set(KF5_OPTIONAL_COMPONENTS ${KF5_OPTIONAL_COMPONENTS} PulseAudioQt Runner) | ||
31 | endif() | 31 | endif() | ||
32 | set(QCA_MIN_VERSION "2.1.0") | 32 | set(QCA_MIN_VERSION "2.1.0") | ||
33 | find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED) | 33 | find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED) | ||
34 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS) | 34 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS) | ||
35 | endif() | 35 | endif() | ||
36 | 36 | | |||
37 | find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) | 37 | find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) | ||
38 | set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake) | 38 | set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake) | ||
▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | |||||
94 | if(EXPERIMENTALAPP_ENABLED) | 94 | if(EXPERIMENTALAPP_ENABLED) | ||
95 | find_package(KF5Kirigami2) | 95 | find_package(KF5Kirigami2) | ||
96 | add_subdirectory(app) | 96 | add_subdirectory(app) | ||
97 | endif() | 97 | endif() | ||
98 | add_subdirectory(plugins) | 98 | add_subdirectory(plugins) | ||
99 | add_subdirectory(cli) | 99 | add_subdirectory(cli) | ||
100 | add_subdirectory(declarativeplugin) | 100 | add_subdirectory(declarativeplugin) | ||
101 | 101 | | |||
102 | if(KF5Runner_FOUND) | ||||
103 | add_subdirectory(runners) | ||||
apol: Maybe it would make sense to have a plasma-integration directory with runners and plasmoid? | |||||
104 | endif() | ||||
105 | | ||||
102 | if (NOT SAILFISHOS) | 106 | if (NOT SAILFISHOS) | ||
103 | add_subdirectory(indicator) | 107 | add_subdirectory(indicator) | ||
104 | add_subdirectory(urlhandler) | 108 | add_subdirectory(urlhandler) | ||
105 | add_subdirectory(nautilus-extension) | 109 | add_subdirectory(nautilus-extension) | ||
106 | else() | 110 | else() | ||
107 | add_subdirectory(sfos) | 111 | add_subdirectory(sfos) | ||
108 | endif() | 112 | endif() | ||
109 | 113 | | |||
Show All 23 Lines |
Maybe it would make sense to have a plasma-integration directory with runners and plasmoid?