diff --git a/plugins/notifications/CMakeLists.txt b/plugins/notifications/CMakeLists.txt index d27914eee..9f749a81b 100644 --- a/plugins/notifications/CMakeLists.txt +++ b/plugins/notifications/CMakeLists.txt @@ -6,7 +6,12 @@ set(kdeconnect_notifications_SRCS add_library(kdeconnect_notifications MODULE ${kdeconnect_notifications_SRCS}) -target_link_libraries(kdeconnect_notifications kdeconnectcore KF5::Service KF5::Notifications KF5::KDELibs4Support) +target_link_libraries(kdeconnect_notifications + kdeconnectcore + Qt5::DBus + KF5::Service + KF5::Notifications +) install(TARGETS kdeconnect_notifications DESTINATION ${PLUGIN_INSTALL_DIR} ) install(FILES kdeconnect_notifications.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) diff --git a/plugins/notifications/notificationsdbusinterface.cpp b/plugins/notifications/notificationsdbusinterface.cpp index b52b39708..e49b92218 100644 --- a/plugins/notifications/notificationsdbusinterface.cpp +++ b/plugins/notifications/notificationsdbusinterface.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include