Changeset View
Changeset View
Standalone View
Standalone View
plugins/runcommand/CMakeLists.txt
1 | find_package(KF5 REQUIRED COMPONENTS Notifications) | ||||
---|---|---|---|---|---|
2 | | ||||
1 | set(kdeconnect_runcommand_SRCS | 3 | set(kdeconnect_runcommand_SRCS | ||
2 | runcommandplugin.cpp | 4 | runcommandplugin.cpp | ||
3 | ) | 5 | ) | ||
4 | 6 | | |||
5 | kdeconnect_add_plugin(kdeconnect_runcommand JSON kdeconnect_runcommand.json SOURCES ${kdeconnect_runcommand_SRCS}) | 7 | kdeconnect_add_plugin(kdeconnect_runcommand JSON kdeconnect_runcommand.json SOURCES ${kdeconnect_runcommand_SRCS}) | ||
6 | 8 | | |||
7 | target_link_libraries(kdeconnect_runcommand | 9 | target_link_libraries(kdeconnect_runcommand | ||
8 | kdeconnectcore | 10 | kdeconnectcore | ||
9 | Qt5::DBus | 11 | Qt5::DBus | ||
10 | KF5::I18n) | 12 | KF5::I18n | ||
13 | KF5::Notifications) | ||||
11 | 14 | | |||
12 | #---------------------- | 15 | #---------------------- | ||
13 | 16 | | |||
14 | set( kdeconnect_runcommand_config_SRCS runcommand_config.cpp ) | 17 | set( kdeconnect_runcommand_config_SRCS runcommand_config.cpp ) | ||
15 | 18 | | |||
16 | add_library(kdeconnect_runcommand_config MODULE ${kdeconnect_runcommand_config_SRCS} ) | 19 | add_library(kdeconnect_runcommand_config MODULE ${kdeconnect_runcommand_config_SRCS} ) | ||
17 | target_link_libraries( kdeconnect_runcommand_config | 20 | target_link_libraries( kdeconnect_runcommand_config | ||
18 | kdeconnectpluginkcm | 21 | kdeconnectpluginkcm | ||
19 | KF5::I18n | 22 | KF5::I18n | ||
20 | KF5::CoreAddons | 23 | KF5::CoreAddons | ||
21 | KF5::ConfigWidgets | 24 | KF5::ConfigWidgets | ||
22 | | ||||
23 | ) | 25 | ) | ||
24 | 26 | | |||
25 | install(TARGETS kdeconnect_runcommand_config DESTINATION ${PLUGIN_INSTALL_DIR} ) | 27 | install(TARGETS kdeconnect_runcommand_config DESTINATION ${PLUGIN_INSTALL_DIR} ) | ||
26 | install(FILES kdeconnect_runcommand_config.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) | 28 | install(FILES kdeconnect_runcommand_config.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) |