123456789101112131415161718192021 |
- set(LIBRARIES KF5::Auth
- KF5::I18n)
- if(NOT NO_SYSTEMD)
- set(LIBRARIES ${LIBRARIES}
- Qt5::DBus)
- endif(NOT NO_SYSTEMD)
- find_package(KF5Auth REQUIRED)
- add_executable(fancontrol-gui-helper src/helper.cpp)
- target_link_libraries(fancontrol-gui-helper ${LIBRARIES})
- install(TARGETS fancontrol-gui-helper DESTINATION ${KAUTH_HELPER_INSTALL_ABSOLUTE_DIR})
- set(SYSCONF_INSTALL_DIR "/etc")
- set(DBUS_SYSTEM_SERVICES_INSTALL_DIR "/usr/share/dbus-1/system-services")
- kauth_install_helper_files(fancontrol-gui-helper fancontrol.gui.helper root)
- kauth_install_actions(fancontrol.gui.helper fancontrol_gui.actions)
|