Changeset View
Changeset View
Standalone View
Standalone View
daemon/actions/bundled/CMakeLists.txt
Show All 12 Lines | 5 | target_link_libraries(powerdevil${_name}action_config | |||
---|---|---|---|---|---|
13 | ${ARGN}) | 13 | ${ARGN}) | ||
14 | install(TARGETS powerdevil${_name}action_config DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 14 | install(TARGETS powerdevil${_name}action_config DESTINATION ${KDE_INSTALL_PLUGINDIR}) | ||
15 | install(FILES powerdevil${_name}action.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 15 | install(FILES powerdevil${_name}action.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
16 | endfunction(add_powerdevil_bundled_action _name) | 16 | endfunction(add_powerdevil_bundled_action _name) | ||
17 | 17 | | |||
18 | add_powerdevil_bundled_action(brightnesscontrol KF5::GlobalAccel) | 18 | add_powerdevil_bundled_action(brightnesscontrol KF5::GlobalAccel) | ||
19 | add_powerdevil_bundled_action(keyboardbrightnesscontrol) | 19 | add_powerdevil_bundled_action(keyboardbrightnesscontrol) | ||
20 | add_powerdevil_bundled_action(dimdisplay) | 20 | add_powerdevil_bundled_action(dimdisplay) | ||
21 | add_powerdevil_bundled_action(runscript KF5::KIOCore KF5::KIOWidgets) | | |||
22 | add_powerdevil_bundled_action(suspendsession KF5::KIOCore KF5::KIOWidgets) | | |||
23 | if(HAVE_WIRELESS_SUPPORT) | 21 | if(HAVE_WIRELESS_SUPPORT) | ||
24 | add_powerdevil_bundled_action(wirelesspowersaving KF5::NetworkManagerQt KF5::BluezQt) | 22 | add_powerdevil_bundled_action(wirelesspowersaving KF5::NetworkManagerQt KF5::BluezQt) | ||
25 | endif() | 23 | endif() | ||
26 | 24 | | |||
27 | set(actionconfig_SRCS handlebuttoneventsconfig.cpp) | 25 | set(actionconfig_SRCS handlebuttoneventsconfig.cpp) | ||
28 | qt5_add_dbus_interface(actionconfig_SRCS | 26 | qt5_add_dbus_interface(actionconfig_SRCS | ||
29 | ${CMAKE_SOURCE_DIR}/daemon/backends/upower/dbus/org.freedesktop.UPower.xml | 27 | ${CMAKE_SOURCE_DIR}/daemon/backends/upower/dbus/org.freedesktop.UPower.xml | ||
30 | upower_interface) | 28 | upower_interface) | ||
Show All 13 Lines |