Changeset View
Changeset View
Standalone View
Standalone View
kcms/colors/CMakeLists.txt
Show All 15 Lines | 15 | target_link_libraries(kcm_colors | |||
---|---|---|---|---|---|
16 | Qt5::DBus | 16 | Qt5::DBus | ||
17 | KF5::KCMUtils | 17 | KF5::KCMUtils | ||
18 | KF5::CoreAddons | 18 | KF5::CoreAddons | ||
19 | KF5::Declarative | 19 | KF5::Declarative | ||
20 | KF5::GuiAddons | 20 | KF5::GuiAddons | ||
21 | KF5::I18n | 21 | KF5::I18n | ||
22 | KF5::KIOCore | 22 | KF5::KIOCore | ||
23 | KF5::KIOWidgets | 23 | KF5::KIOWidgets | ||
24 | KF5::NewStuff | | |||
25 | KF5::QuickAddons | 24 | KF5::QuickAddons | ||
26 | KF5::WindowSystem | 25 | KF5::WindowSystem | ||
26 | Qt5::X11Extras | ||||
27 | ) | 27 | ) | ||
28 | 28 | | |||
29 | if(X11_FOUND) | 29 | if(X11_FOUND) | ||
30 | target_link_libraries(kcm_colors ${X11_LIBRARIES} Qt5::X11Extras) | 30 | target_link_libraries(kcm_colors ${X11_LIBRARIES} Qt5::X11Extras) | ||
31 | endif() | 31 | endif() | ||
32 | 32 | | |||
33 | kcoreaddons_desktop_to_json(kcm_colors "kcm_colors.desktop") | 33 | kcoreaddons_desktop_to_json(kcm_colors "kcm_colors.desktop") | ||
34 | 34 | | |||
35 | install(FILES kcm_colors.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 35 | install(FILES kcm_colors.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
36 | install(TARGETS kcm_colors DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | 36 | install(TARGETS kcm_colors DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||
37 | install(FILES colorschemes.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) | 37 | install(FILES colorschemes.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) | ||
38 | 38 | | |||
39 | kpackage_install_package(package kcm_colors kcms) | 39 | kpackage_install_package(package kcm_colors kcms) | ||
40 | 40 | | |||
41 | add_subdirectory(editor) | 41 | add_subdirectory(editor) |