Changeset View
Changeset View
Standalone View
Standalone View
kcms/desktoptheme/CMakeLists.txt
1 | # KI18N Translation Domain for this library | 1 | # KI18N Translation Domain for this library | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_desktoptheme\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_desktoptheme\") | ||
3 | 3 | | |||
4 | set(kcm_desktoptheme_SRCS | 4 | set(kcm_desktoptheme_SRCS | ||
5 | kcm.cpp | 5 | kcm.cpp | ||
6 | ) | 6 | ) | ||
7 | 7 | | |||
8 | add_library(kcm_desktoptheme MODULE ${kcm_desktoptheme_SRCS}) | 8 | add_library(kcm_desktoptheme MODULE ${kcm_desktoptheme_SRCS}) | ||
9 | 9 | | |||
10 | target_link_libraries(kcm_desktoptheme | 10 | target_link_libraries(kcm_desktoptheme | ||
11 | KF5::CoreAddons | 11 | KF5::CoreAddons | ||
12 | KF5::KCMUtils | 12 | KF5::KCMUtils | ||
13 | KF5::KIOCore | ||||
14 | KF5::KIOWidgets | ||||
13 | KF5::I18n | 15 | KF5::I18n | ||
14 | KF5::Plasma | 16 | KF5::Plasma | ||
15 | KF5::Declarative | 17 | KF5::Declarative | ||
16 | KF5::QuickAddons | 18 | KF5::QuickAddons | ||
17 | KF5::NewStuff | 19 | KF5::NewStuff | ||
18 | ) | 20 | ) | ||
19 | 21 | | |||
20 | kcoreaddons_desktop_to_json(kcm_desktoptheme "kcm_desktoptheme.desktop" SERVICE_TYPES kcmodule.desktop) | 22 | kcoreaddons_desktop_to_json(kcm_desktoptheme "kcm_desktoptheme.desktop" SERVICE_TYPES kcmodule.desktop) | ||
21 | 23 | | |||
22 | #this desktop file is installed only for retrocompatibility with sycoca | 24 | #this desktop file is installed only for retrocompatibility with sycoca | ||
23 | install(FILES kcm_desktoptheme.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 25 | install(FILES kcm_desktoptheme.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
24 | install(FILES plasma-themes.knsrc DESTINATION ${KDE_INSTALL_CONFDIR}) | 26 | install(FILES plasma-themes.knsrc DESTINATION ${KDE_INSTALL_CONFDIR}) | ||
25 | install(TARGETS kcm_desktoptheme DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | 27 | install(TARGETS kcm_desktoptheme DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||
26 | 28 | | |||
27 | kpackage_install_package(package kcm_desktoptheme kcms) | 29 | kpackage_install_package(package kcm_desktoptheme kcms) |