Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 18 Lines | 12 | if (SAILFISHOS) | |||
---|---|---|---|---|---|
19 | pkg_check_modules(QCA2 qca2-qt5>=${QCA_MIN_VERSION} REQUIRED) | 19 | pkg_check_modules(QCA2 qca2-qt5>=${QCA_MIN_VERSION} REQUIRED) | ||
20 | add_definitions(-DSAILFISHOS) | 20 | add_definitions(-DSAILFISHOS) | ||
21 | include_directories(${QCA2_INCLUDEDIR}) | 21 | include_directories(${QCA2_INCLUDEDIR}) | ||
22 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | 22 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | ||
23 | else() | 23 | else() | ||
24 | set(KF5_MIN_VERSION "5.42.0") | 24 | set(KF5_MIN_VERSION "5.42.0") | ||
25 | set(QT_MIN_VERSION "5.7.0") | 25 | set(QT_MIN_VERSION "5.7.0") | ||
26 | set(KF5_REQUIRED_COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils) | 26 | set(KF5_REQUIRED_COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils) | ||
27 | set(KF5_OPTIONAL_COMPONENTS DocTools PulseAudioQt) | 27 | set(KF5_OPTIONAL_COMPONENTS DocTools PulseAudioQt Runner) | ||
28 | set(QCA_MIN_VERSION "2.1.0") | 28 | set(QCA_MIN_VERSION "2.1.0") | ||
29 | find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED) | 29 | find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED) | ||
30 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS) | 30 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS) | ||
31 | endif() | 31 | endif() | ||
32 | 32 | | |||
33 | find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) | 33 | find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) | ||
34 | set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake) | 34 | set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake) | ||
35 | 35 | | |||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | |||||
81 | option(EXPERIMENTALAPP_ENABLED OFF) | 81 | option(EXPERIMENTALAPP_ENABLED OFF) | ||
82 | if(EXPERIMENTALAPP_ENABLED) | 82 | if(EXPERIMENTALAPP_ENABLED) | ||
83 | add_subdirectory(app) | 83 | add_subdirectory(app) | ||
84 | endif() | 84 | endif() | ||
85 | add_subdirectory(plugins) | 85 | add_subdirectory(plugins) | ||
86 | add_subdirectory(cli) | 86 | add_subdirectory(cli) | ||
87 | add_subdirectory(declarativeplugin) | 87 | add_subdirectory(declarativeplugin) | ||
88 | 88 | | |||
89 | if(KF5Runner_FOUND) | ||||
90 | add_subdirectory(runners) | ||||
apol: Maybe it would make sense to have a plasma-integration directory with runners and plasmoid? | |||||
91 | endif() | ||||
92 | | ||||
89 | if (NOT SAILFISHOS) | 93 | if (NOT SAILFISHOS) | ||
90 | add_subdirectory(indicator) | 94 | add_subdirectory(indicator) | ||
91 | add_subdirectory(urlhandler) | 95 | add_subdirectory(urlhandler) | ||
92 | add_subdirectory(nautilus-extension) | 96 | add_subdirectory(nautilus-extension) | ||
93 | else() | 97 | else() | ||
94 | add_subdirectory(sfos) | 98 | add_subdirectory(sfos) | ||
95 | endif() | 99 | endif() | ||
96 | 100 | | |||
Show All 18 Lines |
Maybe it would make sense to have a plasma-integration directory with runners and plasmoid?