2023-07-20 14:59:37 +01:00
|
|
|
kdeconnect_add_plugin(kdeconnect_findthisdevice SOURCES findthisdeviceplugin.cpp)
|
|
|
|
|
|
|
|
ecm_qt_declare_logging_category(kdeconnect_findthisdevice
|
|
|
|
HEADER plugin_findthisdevice_debug.h
|
2020-05-26 17:55:47 +01:00
|
|
|
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
|
|
|
target_link_libraries(kdeconnect_findthisdevice
|
|
|
|
kdeconnectcore
|
2022-10-29 15:51:41 +01:00
|
|
|
Qt::Core
|
|
|
|
Qt::Multimedia
|
|
|
|
Qt::DBus
|
2018-03-29 00:46:12 +01:00
|
|
|
)
|
|
|
|
|
2019-05-14 21:16:41 +01:00
|
|
|
if (NOT WIN32)
|
|
|
|
target_link_libraries(kdeconnect_findthisdevice
|
2023-04-15 11:57:52 +01:00
|
|
|
KF${QT_MAJOR_VERSION}::PulseAudioQt
|
2019-05-14 21:16:41 +01:00
|
|
|
)
|
|
|
|
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)
|
2023-07-20 14:59:37 +01:00
|
|
|
target_sources(kdeconnect_findthisdevice_config PRIVATE findthisdevice_config.cpp)
|
2018-03-29 00:46:12 +01:00
|
|
|
target_link_libraries(kdeconnect_findthisdevice_config
|
|
|
|
kdeconnectpluginkcm
|
2022-10-29 15:51:41 +01:00
|
|
|
Qt::Multimedia
|
2023-04-15 11:57:52 +01:00
|
|
|
KF${QT_MAJOR_VERSION}::I18n
|
|
|
|
KF${QT_MAJOR_VERSION}::CoreAddons
|
|
|
|
KF${QT_MAJOR_VERSION}::ConfigWidgets
|
2023-07-20 14:59:37 +01:00
|
|
|
KF${QT_MAJOR_VERSION}::KIOWidgets # KUrlRequester
|
2018-03-29 00:46:12 +01:00
|
|
|
)
|