Commit 2c51adb6 authored by Laurent Montel's avatar Laurent Montel
Browse files

USe not deprecated KDE_INSTALL_PLUGINDIR variable

parent bd6e1a27
Pipeline #145837 passed with stage
in 1 minute and 4 seconds
......@@ -11,11 +11,11 @@ qt_add_dbus_interface(RpmOstreeDBusInterface_SRCS org.projectatomic.rpmostree1.x
add_library(rpm-ostree-backend MODULE RpmOstreeResource.cpp RpmOstreeBackend.cpp RpmOstreeSourcesBackend.cpp RpmOstreeTransaction.cpp RpmOstree.qrc ${RpmOstreeDBusInterface_SRCS})
target_link_libraries(rpm-ostree-backend PRIVATE Discover::Common Qt5::DBus KF5::CoreAddons KF5::I18n PkgConfig::Ostree)
install(TARGETS rpm-ostree-backend DESTINATION ${PLUGIN_INSTALL_DIR}/discover)
install(TARGETS rpm-ostree-backend DESTINATION ${KDE_INSTALL_PLUGINDIR}/discover)
install(FILES rpm-ostree-backend-categories.xml DESTINATION ${KDE_INSTALL_DATADIR}/libdiscover/categories)
add_library(rpm-ostree-notifier MODULE RpmOstreeNotifier.cpp)
target_link_libraries(rpm-ostree-notifier Discover::Notifiers PkgConfig::Ostree)
set_target_properties(rpm-ostree-notifier PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/plasma-discover)
install(TARGETS rpm-ostree-notifier DESTINATION ${PLUGIN_INSTALL_DIR}/discover-notifier)
install(TARGETS rpm-ostree-notifier DESTINATION ${KDE_INSTALL_PLUGINDIR}/discover-notifier)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment