Warning, /plasma/plasma-workspace/kcms/desktoptheme/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # KI18N Translation Domain for this library 0002 add_definitions(-DTRANSLATION_DOMAIN=\"kcm_desktoptheme\") 0003 0004 set(kcm_desktoptheme_SRCS 0005 kcm.cpp 0006 themesmodel.cpp 0007 filterproxymodel.cpp 0008 kcm.h 0009 themesmodel.h 0010 filterproxymodel.h 0011 ) 0012 0013 kcmutils_generate_module_data( 0014 kcm_desktoptheme_SRCS 0015 MODULE_DATA_HEADER desktopthemedata.h 0016 MODULE_DATA_CLASS_NAME DesktopThemeData 0017 SETTINGS_HEADERS desktopthemesettings.h 0018 SETTINGS_CLASSES DesktopThemeSettings 0019 ) 0020 0021 kconfig_add_kcfg_files(kcm_desktoptheme_SRCS desktopthemesettings.kcfgc GENERATE_MOC) 0022 0023 kcoreaddons_add_plugin(kcm_desktoptheme SOURCES ${kcm_desktoptheme_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings") 0024 0025 target_link_libraries(kcm_desktoptheme 0026 KF5::CoreAddons 0027 KF5::KCMUtils 0028 KF5::KIOCore 0029 KF5::KIOWidgets 0030 KF5::I18n 0031 KF5::Plasma 0032 KF5::Declarative 0033 KF5::QuickAddons 0034 ) 0035 0036 set(plasma-apply-desktoptheme_SRCS 0037 plasma-apply-desktoptheme.cpp 0038 themesmodel.cpp 0039 ) 0040 0041 add_executable(plasma-apply-desktoptheme ${plasma-apply-desktoptheme_SRCS}) 0042 0043 target_link_libraries(plasma-apply-desktoptheme 0044 KF5::CoreAddons 0045 KF5::KCMUtils 0046 KF5::I18n 0047 KF5::Plasma 0048 ) 0049 0050 #this desktop file is installed only for retrocompatibility with sycoca 0051 install(FILES plasma-themes.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) 0052 install(TARGETS plasma-apply-desktoptheme DESTINATION ${KDE_INSTALL_BINDIR}) 0053 0054 kpackage_install_package(package kcm_desktoptheme kcms)