Changeset View
Changeset View
Standalone View
Standalone View
kcms/style/CMakeLists.txt
1 | # KI18N Translation Domain for this library | 1 | # KI18N Translation Domain for this library | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmstyle\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmstyle\") | ||
3 | 3 | | |||
4 | ########### next target ############### | 4 | ########### next target ############### | ||
5 | 5 | | |||
6 | set(kcm_style_PART_SRCS ../krdb/krdb.cpp styleconfdialog.cpp kcmstyle.cpp) | 6 | set(kcm_style_PART_SRCS ../krdb/krdb.cpp styleconfdialog.cpp kcmstyle.cpp stylesmodel.cpp previewitem.cpp) | ||
7 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | 7 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | ||
8 | qt5_add_dbus_interface(kcm_style_PART_SRCS ${klauncher_xml} klauncher_iface) | 8 | qt5_add_dbus_interface(kcm_style_PART_SRCS ${klauncher_xml} klauncher_iface) | ||
9 | 9 | | |||
10 | 10 | | |||
11 | ki18n_wrap_ui(kcm_style_PART_SRCS stylepreview.ui styleconfig.ui) | 11 | ki18n_wrap_ui(kcm_style_PART_SRCS stylepreview.ui) | ||
12 | 12 | | |||
13 | add_library(kcm_style MODULE ${kcm_style_PART_SRCS}) | 13 | add_library(kcm_style MODULE ${kcm_style_PART_SRCS}) | ||
14 | 14 | | |||
15 | target_link_libraries(kcm_style | 15 | target_link_libraries(kcm_style | ||
16 | Qt5::X11Extras | 16 | Qt5::X11Extras | ||
17 | Qt5::DBus | 17 | Qt5::DBus | ||
18 | KF5::KCMUtils | 18 | KF5::KCMUtils | ||
19 | KF5::Completion | 19 | KF5::Completion | ||
20 | KF5::I18n | 20 | KF5::I18n | ||
21 | KF5::Notifications | 21 | KF5::Notifications | ||
22 | KF5::Plasma | 22 | KF5::Plasma | ||
23 | ${X11_LIBRARIES} | 23 | ${X11_LIBRARIES} | ||
24 | KF5::KDELibs4Support | 24 | KF5::KDELibs4Support | ||
25 | KF5::GuiAddons | 25 | KF5::GuiAddons | ||
26 | KF5::QuickAddons | ||||
26 | KF5::WindowSystem | 27 | KF5::WindowSystem | ||
27 | KF5::NewStuff | | |||
28 | ) | 28 | ) | ||
29 | 29 | | |||
30 | install(TARGETS kcm_style DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 30 | kcoreaddons_desktop_to_json(kcm_style "kcm_style.desktop") | ||
31 | 31 | | |||
32 | install(FILES kcm_style.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||||
33 | install(TARGETS kcm_style DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||||
32 | 34 | | |||
33 | ########### install files ############### | 35 | kpackage_install_package(package kcm_style kcms) | ||
34 | | ||||
35 | install( FILES style.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | |