|
@@ -14,9 +14,13 @@ endif(NOT NO_SYSTEMD)
|
|
|
|
|
|
find_package(KF5Auth REQUIRED)
|
|
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_DIR})
|
|
|
|
|
|
+add_executable(fancontrol_gui-helper src/helper.cpp)
|
|
|
|
+target_link_libraries(fancontrol_gui-helper ${LIBRARIES})
|
|
|
|
+install(TARGETS fancontrol_gui-helper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
|
|
|
|
|
|
-kauth_install_helper_files(fancontrol-gui-helper fancontrol.gui.helper root)
|
|
|
|
-kauth_install_actions(fancontrol.gui.helper fancontrol_gui.actions)
|
|
|
|
|
|
+configure_file(helper.actions.in helper.actions @ONLY)
|
|
|
|
+configure_file(helper.conf.in ${STANDARD_HELPER_ID}.conf @ONLY)
|
|
|
|
+configure_file(helper.service.in ${STANDARD_HELPER_ID}.service @ONLY)
|
|
|
|
+
|
|
|
|
+kauth_install_helper_files(fancontrol_gui-helper ${STANDARD_HELPER_ID} root)
|
|
|
|
+kauth_install_actions(${STANDARD_HELPER_ID} ${CMAKE_CURRENT_BINARY_DIR}/helper.actions)
|