Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 18 Lines | 13 | if (SAILFISHOS) | |||
---|---|---|---|---|---|
19 | pkg_search_module(SFOS REQUIRED sailfishapp) | 19 | pkg_search_module(SFOS REQUIRED sailfishapp) | ||
20 | pkg_check_modules(QCA2 qca2-qt5>=${QCA_MIN_VERSION} REQUIRED) | 20 | pkg_check_modules(QCA2 qca2-qt5>=${QCA_MIN_VERSION} REQUIRED) | ||
21 | add_definitions(-DSAILFISHOS) | 21 | add_definitions(-DSAILFISHOS) | ||
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 Service) | ||
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) | ||
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() | ||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |