kdeconnect-kde/plugins/notifications/CMakeLists.txt
Andreas Sturmlechner 79bc9a85e4 Cleanup all occurences of QT_MAJOR_VERSION in cmake
Follow-up to 7f03aa548c

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-12-28 17:49:07 +01:00

15 lines
434 B
CMake

kdeconnect_add_plugin(kdeconnect_notifications SOURCES sendreplydialog.cpp notificationsplugin.cpp notification.cpp)
ki18n_wrap_ui(kdeconnect_notifications sendreplydialog.ui)
target_link_libraries(kdeconnect_notifications
kdeconnectcore
Qt::DBus
Qt::Widgets
KF6::Notifications
KF6::I18n
KF6::WindowSystem
)
if (UNIX AND NOT APPLE)
target_link_libraries(kdeconnect_notifications Qt6::GuiPrivate)
endif()