Changeset View
Changeset View
Standalone View
Standalone View
backends/kwayland/CMakeLists.txt
1 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS | ||||
---|---|---|---|---|---|
2 | CoreAddons | ||||
3 | ) | ||||
1 | 4 | | |||
2 | set(wayland_SRCS | 5 | set(wayland_SRCS | ||
3 | waylandbackend.cpp | 6 | waylandbackend.cpp | ||
4 | waylandconfig.cpp | 7 | waylandconfig.cpp | ||
8 | wayland_interface.cpp | ||||
5 | waylandoutput.cpp | 9 | waylandoutput.cpp | ||
6 | waylandscreen.cpp | 10 | waylandscreen.cpp | ||
7 | ../utils.cpp | 11 | ../utils.cpp | ||
8 | ) | 12 | ) | ||
13 | | ||||
14 | ecm_qt_declare_logging_category( | ||||
15 | wayland_SRCS | ||||
16 | HEADER wayland_logging.h | ||||
17 | IDENTIFIER KSCREEN_WAYLAND | ||||
18 | CATEGORY_NAME org.kde.kscreen.wayland | ||||
19 | ) | ||||
20 | | ||||
9 | qt5_add_dbus_interface(wayland_SRCS org.kde.KWin.TabletModeManager.xml tabletmodemanager_interface) | 21 | qt5_add_dbus_interface(wayland_SRCS org.kde.KWin.TabletModeManager.xml tabletmodemanager_interface) | ||
10 | 22 | | |||
11 | add_library(KSC_KWayland MODULE ${wayland_SRCS}) | 23 | add_library(KSC_KWayland MODULE ${wayland_SRCS}) | ||
12 | 24 | | |||
25 | add_subdirectory(plugins) | ||||
26 | | ||||
13 | set_target_properties(KSC_KWayland PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kf5/kscreen") | 27 | set_target_properties(KSC_KWayland PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kf5/kscreen") | ||
14 | set_target_properties(KSC_KWayland PROPERTIES PREFIX "") | 28 | set_target_properties(KSC_KWayland PROPERTIES PREFIX "") | ||
15 | target_link_libraries(KSC_KWayland Qt5::Core | 29 | target_link_libraries(KSC_KWayland Qt5::Core | ||
16 | Qt5::DBus | 30 | Qt5::DBus | ||
17 | Qt5::Gui | 31 | Qt5::Gui | ||
18 | KF5::Screen | 32 | KF5::Screen | ||
19 | KF5::WaylandClient | 33 | KF5::WaylandClient | ||
34 | KF5::CoreAddons | ||||
20 | ) | 35 | ) | ||
21 | 36 | | |||
22 | install(TARGETS KSC_KWayland DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kscreen/) | 37 | install(TARGETS KSC_KWayland DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kscreen/) |