2024-10-05 19:46:54 +01:00
|
|
|
# Target kdeconnect_findthisdevice_qmlhelper
|
|
|
|
|
|
|
|
ecm_add_qml_module(kdeconnect_findthisdevice_qmlhelper
|
|
|
|
URI "org.kde.kdeconnect.private.findthisdevice"
|
|
|
|
GENERATE_PLUGIN_SOURCE
|
|
|
|
)
|
|
|
|
|
|
|
|
target_sources(kdeconnect_findthisdevice_qmlhelper PRIVATE findthisdevicehelper.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(kdeconnect_findthisdevice_qmlhelper PRIVATE
|
|
|
|
Qt::Qml
|
|
|
|
)
|
|
|
|
|
|
|
|
ecm_finalize_qml_module(kdeconnect_findthisdevice_qmlhelper DESTINATION ${KDE_INSTALL_QMLDIR})
|
|
|
|
|
|
|
|
# Target kdeconnect_findthisdevice
|
|
|
|
|
|
|
|
kdeconnect_add_plugin(kdeconnect_findthisdevice SOURCES findthisdeviceplugin.cpp findthisdevicehelper.cpp)
|
2023-07-20 14:59:37 +01:00
|
|
|
|
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
|
2024-10-05 19:46:54 +01:00
|
|
|
Qt::Qml
|
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-12-28 16:37:31 +00:00
|
|
|
KF6::PulseAudioQt
|
2019-05-14 21:16:41 +01:00
|
|
|
)
|
|
|
|
endif()
|
2018-03-29 00:46:12 +01:00
|
|
|
|
2024-10-05 19:46:54 +01:00
|
|
|
# Target kdeconnect_findthisdevice_config
|
|
|
|
|
|
|
|
kdeconnect_add_kcm(kdeconnect_findthisdevice_config SOURCES findthisdevice_config.cpp findthisdevicehelper.cpp)
|
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)
|
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
|
2024-10-05 19:46:54 +01:00
|
|
|
Qt::Qml
|
2023-12-28 16:37:31 +00:00
|
|
|
KF6::I18n
|
|
|
|
KF6::CoreAddons
|
|
|
|
KF6::ConfigWidgets
|
|
|
|
KF6::KIOWidgets # KUrlRequester
|
2018-03-29 00:46:12 +01:00
|
|
|
)
|