Warning, /graphics/kamera/kcontrol/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"kcmkamera\")
0002 
0003 kcoreaddons_add_plugin(kcm_kamera
0004     SOURCES
0005         kamera.cpp
0006         kameradevice.cpp
0007         kameraconfigdialog.cpp
0008         kameradevice.h
0009         kameraconfigdialog.h
0010     INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets"
0011 )
0012 
0013 set_target_properties(kcm_kamera PROPERTIES OUTPUT_NAME kamera)
0014 
0015 target_include_directories(kcm_kamera PRIVATE
0016     ${GPHOTO2_INCLUDE_DIRS}
0017     ${CMAKE_BINARY_DIR}
0018 )
0019 
0020 ecm_qt_declare_logging_category(kcm_kamera
0021     HEADER kcm_kamera_log.h
0022     IDENTIFIER KAMERA_KCONTROL
0023     CATEGORY_NAME kamera.kcm
0024     DESCRIPTION "Kamera KCM"
0025     EXPORT KAMERA
0026 )
0027 
0028 target_link_libraries(kcm_kamera
0029     KF5::ConfigWidgets
0030     KF5::XmlGui
0031     KF5::KIOCore
0032     KF5::I18n
0033     KF5::ConfigCore
0034     ${GPHOTO2_LIBRARIES}
0035     )
0036 
0037 install( FILES kamera.desktop  DESTINATION  ${KDE_INSTALL_APPDIR} )