2020-05-26 17:55:47 +01:00
|
|
|
set(debug_file_SRCS)
|
|
|
|
ecm_qt_declare_logging_category(
|
|
|
|
debug_file_SRCS HEADER plugin_notification_debug.h
|
|
|
|
IDENTIFIER KDECONNECT_PLUGIN_NOTIFICATION CATEGORY_NAME kdeconnect.plugin.notification
|
|
|
|
DEFAULT_SEVERITY Warning
|
|
|
|
EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (plugin notification)")
|
|
|
|
|
2013-08-13 23:09:46 +01:00
|
|
|
set(kdeconnect_notifications_SRCS
|
2013-08-20 12:53:36 +01:00
|
|
|
notification.cpp
|
2013-08-13 23:09:46 +01:00
|
|
|
notificationsplugin.cpp
|
2017-05-31 14:33:21 +01:00
|
|
|
sendreplydialog.cpp
|
2020-05-26 17:55:47 +01:00
|
|
|
${debug_file_SRCS}
|
2013-08-13 23:09:46 +01:00
|
|
|
)
|
|
|
|
|
2017-08-03 16:23:12 +01:00
|
|
|
ki18n_wrap_ui(kdeconnect_notifications_SRCS sendreplydialog.ui)
|
|
|
|
|
2021-06-28 19:33:52 +01:00
|
|
|
kdeconnect_add_plugin(kdeconnect_notifications SOURCES ${kdeconnect_notifications_SRCS})
|
2013-08-13 23:09:46 +01:00
|
|
|
|
2014-09-22 09:17:44 +01:00
|
|
|
target_link_libraries(kdeconnect_notifications
|
|
|
|
kdeconnectcore
|
|
|
|
Qt5::DBus
|
|
|
|
KF5::Notifications
|
2015-12-05 22:11:57 +00:00
|
|
|
KF5::I18n
|
2021-02-01 13:10:47 +00:00
|
|
|
KF5::WindowSystem
|
2014-09-22 09:17:44 +01:00
|
|
|
)
|
2021-02-01 13:10:47 +00:00
|
|
|
|
|
|
|
if (UNIX AND NOT APPLE)
|
|
|
|
target_link_libraries(kdeconnect_notifications
|
|
|
|
Qt::X11Extras
|
|
|
|
)
|
|
|
|
endif()
|