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

26 lines
660 B
CMake

kdeconnect_add_plugin(kdeconnect_findthisdevice SOURCES findthisdeviceplugin.cpp)
target_link_libraries(kdeconnect_findthisdevice
kdeconnectcore
Qt::Core
Qt::Multimedia
Qt::DBus
)
if (NOT WIN32)
target_link_libraries(kdeconnect_findthisdevice
KF6::PulseAudioQt
)
endif()
kdeconnect_add_kcm(kdeconnect_findthisdevice_config SOURCES findthisdevice_config.cpp)
ki18n_wrap_ui(kdeconnect_findthisdevice_config findthisdevice_config.ui)
target_link_libraries(kdeconnect_findthisdevice_config
kdeconnectpluginkcm
Qt::Multimedia
KF6::I18n
KF6::CoreAddons
KF6::ConfigWidgets
KF6::KIOWidgets # KUrlRequester
)