Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | |||||
72 | set_package_properties(KF5Activities PROPERTIES DESCRIPTION "KActivities libraries" | 72 | set_package_properties(KF5Activities PROPERTIES DESCRIPTION "KActivities libraries" | ||
73 | URL "https://www.kde.org" | 73 | URL "https://www.kde.org" | ||
74 | TYPE OPTIONAL | 74 | TYPE OPTIONAL | ||
75 | PURPOSE "For tracking which folders are frequently accessed on a Plasma desktop" | 75 | PURPOSE "For tracking which folders are frequently accessed on a Plasma desktop" | ||
76 | ) | 76 | ) | ||
77 | 77 | | |||
78 | find_package(Phonon4Qt5 CONFIG REQUIRED) | 78 | find_package(Phonon4Qt5 CONFIG REQUIRED) | ||
79 | 79 | | |||
80 | find_package(PackageKitQt5) | ||||
81 | set_package_properties(PackageKitQt5 | ||||
82 | PROPERTIES DESCRIPTION "Software Manager integration" | ||||
83 | TYPE OPTIONAL | ||||
84 | PURPOSE "Used in the service menu installer" | ||||
85 | ) | ||||
86 | if(PackageKitQt5_FOUND) | ||||
87 | set(HAVE_PACKAGEKIT TRUE) | ||||
elvisangelaccio: Please call it `HAVE_PACKAGEKIT` instead. | |||||
88 | endif() | ||||
89 | | ||||
80 | find_package(KF5Baloo ${KF5_MIN_VERSION}) | 90 | find_package(KF5Baloo ${KF5_MIN_VERSION}) | ||
elvisangelaccio: Not needed, this is the default ;) | |||||
81 | set_package_properties(KF5Baloo PROPERTIES DESCRIPTION "Baloo Core libraries" | 91 | set_package_properties(KF5Baloo PROPERTIES DESCRIPTION "Baloo Core libraries" | ||
Please create a config-packagekit.h.cmake file instead. See src/CMakeLists.txt as example: configure_file(config-baloo.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-baloo.h) configure_file(config-kactivities.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kactivities.h) elvisangelaccio: Please create a `config-packagekit.h.cmake` file instead. See `src/CMakeLists.txt` as example… | |||||
82 | URL "https://www.kde.org" | 92 | URL "https://www.kde.org" | ||
83 | TYPE OPTIONAL | 93 | TYPE OPTIONAL | ||
84 | PURPOSE "For adding desktop-wide search and tagging support to dolphin" | 94 | PURPOSE "For adding desktop-wide search and tagging support to dolphin" | ||
85 | ) | 95 | ) | ||
86 | 96 | | |||
87 | find_package(KF5BalooWidgets 19.07.70) | 97 | find_package(KF5BalooWidgets 19.07.70) | ||
88 | set_package_properties(KF5BalooWidgets PROPERTIES DESCRIPTION "Baloos Widgets" | 98 | set_package_properties(KF5BalooWidgets PROPERTIES DESCRIPTION "Baloos Widgets" | ||
89 | URL "https://www.kde.org" | 99 | URL "https://www.kde.org" | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |
Please call it HAVE_PACKAGEKIT instead.