ed1e24d231
This is far less code and allows for an easier enforcing of standards, for example the name of the log identifiers which were adjusted in a few cases. Also clean up unused includes when noticed.
26 lines
750 B
CMake
26 lines
750 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
|
|
KF${QT_MAJOR_VERSION}::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
|
|
KF${QT_MAJOR_VERSION}::I18n
|
|
KF${QT_MAJOR_VERSION}::CoreAddons
|
|
KF${QT_MAJOR_VERSION}::ConfigWidgets
|
|
KF${QT_MAJOR_VERSION}::KIOWidgets # KUrlRequester
|
|
)
|