- kauth_install_helper_files(Fancontrol-GUIHelper fancontrol.gui.helper root)
- kauth_install_actions(fancontrol.gui.helper fancontrol-gui.actions)
- set(LIBRARIES KF5::Auth)
- if(NOT NO_SYSTEMD)
- set(LIBRARIES ${LIBRARIES} Qt5::DBus)
- endif(NOT NO_SYSTEMD)
- add_executable(Fancontrol-GUIHelper src/helper.cpp)
- target_link_libraries(Fancontrol-GUIHelper ${LIBRARIES})
- install(TARGETS Fancontrol-GUIHelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
|