2020-05-26 17:55:47 +01:00
|
|
|
set(debug_file_SRCS)
|
|
|
|
ecm_qt_declare_logging_category(
|
|
|
|
debug_file_SRCS HEADER plugin_findthisdevice_debug.h
|
|
|
|
IDENTIFIER KDECONNECT_PLUGIN_FINDTHISDEVICE CATEGORY_NAME kdeconnect.plugin.findthisdevice
|
|
|
|
DEFAULT_SEVERITY Warning
|
|
|
|
EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (plugin findthisdevice)")
|
|
|
|
|
2018-03-29 00:46:12 +01:00
|
|
|
set(kdeconnect_findthisdevice_SRCS
|
|
|
|
findthisdeviceplugin.cpp
|
2020-05-26 17:55:47 +01:00
|
|
|
${debug_file_SRCS}
|
2018-03-29 00:46:12 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
kdeconnect_add_plugin(kdeconnect_findthisdevice
|
|
|
|
SOURCES ${kdeconnect_findthisdevice_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(kdeconnect_findthisdevice
|
|
|
|
kdeconnectcore
|
|
|
|
Qt5::Core
|
2019-04-30 17:24:09 +01:00
|
|
|
Qt5::Multimedia
|
2018-03-29 00:46:12 +01:00
|
|
|
Qt5::DBus
|
|
|
|
)
|
|
|
|
|
2019-05-14 21:16:41 +01:00
|
|
|
if (NOT WIN32)
|
|
|
|
target_link_libraries(kdeconnect_findthisdevice
|
|
|
|
KF5::PulseAudioQt
|
|
|
|
)
|
|
|
|
endif()
|
2018-03-29 00:46:12 +01:00
|
|
|
|
2021-11-18 10:05:09 +00:00
|
|
|
kcoreaddons_add_plugin(kdeconnect_findthisdevice_config INSTALL_NAMESPACE "kdeconnect/kcms")
|
2018-03-29 00:46:12 +01:00
|
|
|
|
2021-11-18 10:05:09 +00:00
|
|
|
ki18n_wrap_ui(kdeconnect_findthisdevice_config findthisdevice_config.ui)
|
|
|
|
target_sources(kdeconnect_findthisdevice_config PRIVATE findthisdevice_config.cpp ${debug_file_SRCS})
|
2018-03-29 00:46:12 +01:00
|
|
|
target_link_libraries(kdeconnect_findthisdevice_config
|
|
|
|
kdeconnectpluginkcm
|
2019-04-30 17:24:09 +01:00
|
|
|
Qt5::Multimedia
|
2018-03-29 00:46:12 +01:00
|
|
|
KF5::I18n
|
|
|
|
KF5::CoreAddons
|
|
|
|
KF5::ConfigWidgets
|
|
|
|
KF5::KIOWidgets # KUrlRequester
|
|
|
|
)
|