CMakeLists.txt 497 B

1234567891011121314151617
  1. set(LIBRARIES KF5::Auth)
  2. if(NOT NO_SYSTEMD)
  3. set(LIBRARIES ${LIBRARIES}
  4. Qt5::DBus)
  5. endif(NOT NO_SYSTEMD)
  6. find_package(KF5Auth REQUIRED)
  7. add_executable(fancontrol-gui-helper src/helper.cpp)
  8. target_link_libraries(fancontrol-gui-helper ${LIBRARIES})
  9. install(TARGETS fancontrol-gui-helper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
  10. kauth_install_helper_files(fancontrol-gui-helper fancontrol.gui.helper root)
  11. kauth_install_actions(fancontrol.gui.helper fancontrol_gui.actions)