Changeset View
Changeset View
Standalone View
Standalone View
kcms/style/CMakeLists.txt
Show All 15 Lines | |||||
16 | qt5_add_dbus_interface(kcm_style_PART_SRCS ${klauncher_xml} klauncher_iface) | 16 | qt5_add_dbus_interface(kcm_style_PART_SRCS ${klauncher_xml} klauncher_iface) | ||
17 | 17 | | |||
18 | ki18n_wrap_ui(kcm_style_PART_SRCS stylepreview.ui) | 18 | ki18n_wrap_ui(kcm_style_PART_SRCS stylepreview.ui) | ||
19 | 19 | | |||
20 | kconfig_add_kcfg_files(kcm_style_PART_SRCS stylesettings.kcfgc GENERATE_MOC) | 20 | kconfig_add_kcfg_files(kcm_style_PART_SRCS stylesettings.kcfgc GENERATE_MOC) | ||
21 | 21 | | |||
22 | add_library(kcm_style MODULE ${kcm_style_PART_SRCS}) | 22 | add_library(kcm_style MODULE ${kcm_style_PART_SRCS}) | ||
23 | 23 | | |||
24 | target_compile_definitions(kcm_style PUBLIC CMAKE_INSTALL_FULL_LIBEXECDIR="${CMAKE_INSTALL_FULL_LIBEXECDIR}") | ||||
25 | | ||||
24 | target_link_libraries(kcm_style | 26 | target_link_libraries(kcm_style | ||
25 | Qt5::X11Extras | 27 | Qt5::X11Extras | ||
26 | Qt5::DBus | 28 | Qt5::DBus | ||
27 | KF5::KCMUtils | 29 | KF5::KCMUtils | ||
28 | KF5::Completion | 30 | KF5::Completion | ||
29 | KF5::I18n | 31 | KF5::I18n | ||
30 | KF5::Notifications | 32 | KF5::Notifications | ||
31 | KF5::Plasma | 33 | KF5::Plasma | ||
32 | ${X11_LIBRARIES} | 34 | ${X11_LIBRARIES} | ||
33 | KF5::KDELibs4Support | 35 | KF5::KDELibs4Support | ||
34 | KF5::GuiAddons | 36 | KF5::GuiAddons | ||
35 | KF5::QuickAddons | 37 | KF5::QuickAddons | ||
36 | KF5::WindowSystem | 38 | KF5::WindowSystem | ||
37 | KF5::Archive | 39 | KF5::Archive | ||
38 | KF5::NewStuff | 40 | KF5::NewStuff | ||
39 | ) | 41 | ) | ||
40 | 42 | | |||
41 | kcoreaddons_desktop_to_json(kcm_style "kcm_style.desktop") | 43 | kcoreaddons_desktop_to_json(kcm_style "kcm_style.desktop") | ||
42 | 44 | | |||
43 | install(FILES stylesettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) | 45 | install(FILES stylesettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) | ||
44 | install(FILES cgctheme.knsrc cgcgtk3.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) | 46 | install(FILES gtk2_themes.knsrc gtk3_themes.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) | ||
45 | install(FILES kcm_style.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 47 | install(FILES kcm_style.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
46 | install(TARGETS kcm_style DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | 48 | install(TARGETS kcm_style DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||
47 | 49 | | |||
48 | kpackage_install_package(package kcm_style kcms) | 50 | kpackage_install_package(package kcm_style kcms) |