Warning, /plasma/discover/libdiscover/backends/RpmOstreeBackend/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(CMAKE_MODULE_PATH ${ECM_MODULE_DIR})
0002 
0003 find_file(RpmOstreeDBusInterface org.projectatomic.rpmostree1.xml /usr/share/dbus-1/interfaces/)
0004 qt_add_dbus_interface(RpmOstreeDBusInterface_SRCS ${RpmOstreeDBusInterface} RpmOstreeDBusInterface)
0005 
0006 add_library(rpm-ostree-backend MODULE OstreeFormat.cpp RpmOstreeResource.cpp RpmOstreeBackend.cpp RpmOstreeSourcesBackend.cpp RpmOstreeTransaction.cpp ${RpmOstreeDBusInterface_SRCS})
0007 target_link_libraries(rpm-ostree-backend PRIVATE Discover::Common Qt::DBus KF6::CoreAddons KF6::I18n PkgConfig::Ostree AppStreamQt)
0008 
0009 install(TARGETS rpm-ostree-backend DESTINATION ${KDE_INSTALL_PLUGINDIR}/discover)
0010 install(FILES rpm-ostree-backend-categories.xml DESTINATION ${KDE_INSTALL_DATADIR}/libdiscover/categories)
0011 
0012 add_library(rpm-ostree-notifier MODULE OstreeFormat.cpp RpmOstreeNotifier.cpp)
0013 target_link_libraries(rpm-ostree-notifier Discover::Notifiers PkgConfig::Ostree)
0014 set_target_properties(rpm-ostree-notifier PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/plasma-discover)
0015 
0016 install(TARGETS rpm-ostree-notifier DESTINATION ${KDE_INSTALL_PLUGINDIR}/discover-notifier)