kdeconnect-kde/plugins/clipboard/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

16 lines
496 B
CMake

kdeconnect_add_plugin(kdeconnect_clipboard SOURCES clipboardplugin.cpp clipboardlistener.cpp)
target_link_libraries(kdeconnect_clipboard kdeconnectcore
Qt::DBus
KF6::GuiAddons
${kdeconnect_clipboard_WL_LINK_LIBS}
)
kdeconnect_add_kcm(kdeconnect_clipboard_config SOURCES clipboard_config.cpp)
ki18n_wrap_ui(kdeconnect_clipboard_config clipboard_config.ui)
target_link_libraries(kdeconnect_clipboard_config
kdeconnectcore
kdeconnectpluginkcm
KF6::I18n
KF6::KCMUtils
)