You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
972 B

add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_notifications\")
set(notifications_engine_SRCS
notificationsengine.cpp
notificationservice.cpp
notificationaction.cpp
)
qt5_add_dbus_adaptor( notifications_engine_SRCS org.freedesktop.Notifications.xml notificationsengine.h NotificationsEngine )
add_library(plasma_engine_notifications MODULE ${notifications_engine_SRCS})
target_link_libraries(plasma_engine_notifications
Qt5::DBus
KF5::I18n
KF5::IconThemes
KF5::KIOCore
KF5::Notifications
KF5::Plasma
KF5::Service
KF5::NotifyConfig
)
kcoreaddons_desktop_to_json(plasma_engine_notifications plasma-dataengine-notifications.desktop)
install(TARGETS plasma_engine_notifications DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine)
install(FILES plasma-dataengine-notifications.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install(FILES notifications.operations DESTINATION ${PLASMA_DATA_INSTALL_DIR}/services)