Warning, /plasma/plasma-workspace/kcms/desktoptheme/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"kcm_desktoptheme\")
0002 
0003 kcmutils_add_qml_kcm(kcm_desktoptheme SOURCES ${kcm_desktoptheme_SRCS})
0004 
0005 target_sources(kcm_desktoptheme PRIVATE
0006     kcm.cpp
0007     themesmodel.cpp
0008     filterproxymodel.cpp
0009     kcm.h
0010     themesmodel.h
0011     filterproxymodel.h
0012 )
0013 kcmutils_generate_module_data(kcm_desktoptheme
0014     MODULE_DATA_HEADER desktopthemedata.h
0015     MODULE_DATA_CLASS_NAME DesktopThemeData
0016     SETTINGS_HEADERS desktopthemesettings.h
0017     SETTINGS_CLASSES DesktopThemeSettings
0018 )
0019 kconfig_add_kcfg_files(kcm_desktoptheme desktopthemesettings.kcfgc GENERATE_MOC)
0020 
0021 target_link_libraries(kcm_desktoptheme PRIVATE
0022   Qt::Quick
0023   KF6::CoreAddons
0024   KF6::KCMUtils
0025   KF6::KIOCore
0026   KF6::KIOWidgets
0027   KF6::I18n
0028   KF6::Svg
0029   KF6::KCMUtilsQuick
0030 )
0031 
0032 add_executable(plasma-apply-desktoptheme ${plasma-apply-desktoptheme_SRCS})
0033 target_sources(plasma-apply-desktoptheme PRIVATE
0034     plasma-apply-desktoptheme.cpp
0035     themesmodel.cpp
0036 )
0037 target_link_libraries(plasma-apply-desktoptheme
0038     KF6::CoreAddons
0039     KF6::KCMUtils
0040     KF6::I18n
0041     Plasma::Plasma
0042 )
0043 
0044 #this desktop file is installed only for retrocompatibility with sycoca
0045 install(FILES plasma-themes.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
0046 install(TARGETS plasma-apply-desktoptheme DESTINATION ${KDE_INSTALL_BINDIR})