CMakeLists.txt 518 B

12345678910111213141516
  1. set(LIBRARIES KF5::QuickAddons
  2. KF5::CoreAddons
  3. KF5::I18n)
  4. find_package(KF5Declarative REQUIRED)
  5. add_library(kcm_fancontrol MODULE src/fancontrolkcm.cpp)
  6. target_link_libraries(kcm_fancontrol ${LIBRARIES})
  7. install(TARGETS kcm_fancontrol DESTINATION "${KDE_INSTALL_QTPLUGINDIR}/kcms")
  8. install(FILES kcm_fancontrol.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
  9. kpackage_install_package(package kcm_fancontrol kcms)
  10. kcoreaddons_desktop_to_json(kcm_fancontrol "kcm_fancontrol.desktop")