CMakeLists.txt 494 B

123456789101112131415
  1. set(LIBRARIES KF5::QuickAddons
  2. KF5::CoreAddons
  3. KF5::I18n
  4. fancontrol_gui_lib)
  5. find_package(KF5Declarative REQUIRED)
  6. add_library(kcm_fancontrol MODULE src/fancontrolkcm.cpp)
  7. target_link_libraries(kcm_fancontrol ${LIBRARIES})
  8. install(TARGETS kcm_fancontrol DESTINATION "${LIB_INSTALL_DIR}/qt/plugins/kcms")
  9. install(FILES kcm_fancontrol.desktop DESTINATION ${SERVICES_INSTALL_DIR})
  10. kcoreaddons_desktop_to_json(kcm_fancontrol "kcm_fancontrol.desktop")