Changeset View
Changeset View
Standalone View
Standalone View
plugins/findthisdevice/CMakeLists.txt
- This file was added.
1 | include_directories(${PHONON_INCLUDE_DIR}) | ||||
---|---|---|---|---|---|
2 | | ||||
3 | set(kdeconnect_findthisdevice_SRCS | ||||
4 | findthisdeviceplugin.cpp | ||||
5 | ) | ||||
6 | | ||||
7 | kdeconnect_add_plugin(kdeconnect_findthisdevice | ||||
8 | JSON kdeconnect_findthisdevice.json | ||||
9 | SOURCES ${kdeconnect_findthisdevice_SRCS}) | ||||
10 | | ||||
11 | target_link_libraries(kdeconnect_findthisdevice | ||||
12 | kdeconnectcore | ||||
13 | ${PHONON_LIBRARIES} | ||||
14 | Qt5::Core | ||||
15 | Qt5::DBus | ||||
16 | ) | ||||
17 | | ||||
18 | | ||||
19 | set(kdeconnect_findthisdevice_config_SRCS findthisdevice_config.cpp) | ||||
20 | ki18n_wrap_ui(kdeconnect_findthisdevice_config_SRCS findthisdevice_config.ui) | ||||
21 | | ||||
22 | add_library(kdeconnect_findthisdevice_config MODULE ${kdeconnect_findthisdevice_config_SRCS}) | ||||
23 | target_link_libraries(kdeconnect_findthisdevice_config | ||||
24 | kdeconnectpluginkcm | ||||
25 | ${PHONON_LIBRARIES} | ||||
26 | KF5::I18n | ||||
27 | KF5::CoreAddons | ||||
28 | KF5::ConfigWidgets | ||||
29 | KF5::KIOWidgets # KUrlRequester | ||||
30 | ) | ||||
31 | | ||||
32 | install(TARGETS kdeconnect_findthisdevice_config DESTINATION ${KDE_INSTALL_PLUGINDIR}) | ||||
33 | install(FILES kdeconnect_findthisdevice_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) |