Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/wayland/CMakeLists.txt
1 | set(WAYLAND_BACKEND_SOURCES | 1 | set(WAYLAND_BACKEND_SOURCES | ||
---|---|---|---|---|---|
2 | logging.cpp | 2 | logging.cpp | ||
3 | scene_qpainter_wayland_backend.cpp | 3 | scene_qpainter_wayland_backend.cpp | ||
4 | wayland_backend.cpp | 4 | wayland_backend.cpp | ||
5 | ) | 5 | ) | ||
6 | 6 | | |||
7 | if(HAVE_WAYLAND_EGL) | 7 | if(HAVE_WAYLAND_EGL) | ||
8 | set(WAYLAND_BACKEND_SOURCES egl_wayland_backend.cpp ${WAYLAND_BACKEND_SOURCES}) | 8 | set(WAYLAND_BACKEND_SOURCES egl_wayland_backend.cpp ${WAYLAND_BACKEND_SOURCES}) | ||
9 | endif() | 9 | endif() | ||
10 | 10 | | |||
11 | add_library(KWinWaylandWaylandBackend MODULE ${WAYLAND_BACKEND_SOURCES}) | 11 | add_library(KWinWaylandWaylandBackend MODULE ${WAYLAND_BACKEND_SOURCES}) | ||
12 | target_link_libraries(KWinWaylandWaylandBackend kwin KF5::WaylandClient) | 12 | target_link_libraries(KWinWaylandWaylandBackend kwin KF5::WaylandClient SceneQPainterBackend) | ||
13 | 13 | | |||
14 | if(HAVE_WAYLAND_EGL) | 14 | if(HAVE_WAYLAND_EGL) | ||
15 | target_link_libraries(KWinWaylandWaylandBackend Wayland::Egl) | 15 | target_link_libraries(KWinWaylandWaylandBackend Wayland::Egl) | ||
16 | endif() | 16 | endif() | ||
17 | 17 | | |||
18 | install( | 18 | install( | ||
19 | TARGETS | 19 | TARGETS | ||
20 | KWinWaylandWaylandBackend | 20 | KWinWaylandWaylandBackend | ||
21 | DESTINATION | 21 | DESTINATION | ||
22 | ${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/ | 22 | ${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/ | ||
23 | ) | 23 | ) |