Changeset View
Changeset View
Standalone View
Standalone View
kcms/mouse/CMakeLists.txt
Show All 18 Lines | 16 | ecm_qt_declare_logging_category(common_SRCS | |||
---|---|---|---|---|---|
19 | IDENTIFIER | 19 | IDENTIFIER | ||
20 | KCM_MOUSE | 20 | KCM_MOUSE | ||
21 | CATEGORY_NAME | 21 | CATEGORY_NAME | ||
22 | kcm_mouse | 22 | kcm_mouse | ||
23 | DEFAULT_SEVERITY | 23 | DEFAULT_SEVERITY | ||
24 | Critical | 24 | Critical | ||
25 | ) | 25 | ) | ||
26 | 26 | | |||
27 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | | |||
28 | qt5_add_dbus_interface(common_SRCS ${klauncher_xml} klauncher_iface) | | |||
29 | | ||||
30 | include(backends/x11.cmake) | 27 | include(backends/x11.cmake) | ||
31 | include(backends/kwin_wl.cmake) | 28 | include(backends/kwin_wl.cmake) | ||
32 | 29 | | |||
33 | ########### next target ############### | 30 | ########### next target ############### | ||
34 | 31 | | |||
35 | add_executable(kapplymousetheme | 32 | add_executable(kapplymousetheme | ||
36 | kapplymousetheme.cpp | 33 | kapplymousetheme.cpp | ||
37 | ${common_SRCS} | 34 | ${common_SRCS} | ||
38 | ${backend_SRCS} | 35 | ${backend_SRCS} | ||
39 | ) | 36 | ) | ||
40 | 37 | | |||
41 | target_link_libraries(kapplymousetheme | 38 | target_link_libraries(kapplymousetheme | ||
42 | ${backend_LIBS} | 39 | ${backend_LIBS} | ||
43 | Qt5::Gui | 40 | Qt5::Gui | ||
44 | Qt5::DBus | 41 | Qt5::DBus | ||
45 | KF5::CoreAddons | 42 | KF5::CoreAddons | ||
46 | KF5::ConfigCore | 43 | KF5::ConfigCore | ||
47 | KF5::I18n | 44 | KF5::I18n | ||
45 | PW::KWorkspace | ||||
48 | ) | 46 | ) | ||
49 | 47 | | |||
50 | install(TARGETS kapplymousetheme ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 48 | install(TARGETS kapplymousetheme ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
51 | 49 | | |||
52 | ########### next target ############### | 50 | ########### next target ############### | ||
53 | 51 | | |||
54 | set(common_SRCS | 52 | set(common_SRCS | ||
55 | ${common_SRCS} | 53 | ${common_SRCS} | ||
Show All 15 Lines | |||||
71 | 69 | | |||
72 | target_link_libraries(kcm_mouse | 70 | target_link_libraries(kcm_mouse | ||
73 | ${backend_LIBS} | 71 | ${backend_LIBS} | ||
74 | KF5::KCMUtils | 72 | KF5::KCMUtils | ||
75 | KF5::I18n | 73 | KF5::I18n | ||
76 | KF5::KIOCore | 74 | KF5::KIOCore | ||
77 | KF5::KIOWidgets | 75 | KF5::KIOWidgets | ||
78 | KF5::Declarative | 76 | KF5::Declarative | ||
77 | PW::KWorkspace | ||||
79 | 78 | | |||
80 | Qt5::DBus | 79 | Qt5::DBus | ||
81 | Qt5::QuickWidgets | 80 | Qt5::QuickWidgets | ||
82 | ) | 81 | ) | ||
83 | 82 | | |||
84 | install(TARGETS kcm_mouse DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | 83 | install(TARGETS kcm_mouse DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | ||
85 | 84 | | |||
86 | ########### install files ############### | 85 | ########### install files ############### | ||
87 | 86 | | |||
88 | install( FILES mouse.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | 87 | install( FILES mouse.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |