33dffc0fd7
Preparation step for having two x11 backends: the windowed for Wayland and a standalone for kwin_x11.
16 lines
382 B
CMake
16 lines
382 B
CMake
set(X11BACKEND_SOURCES
|
|
logging.cpp
|
|
egl_x11_backend.cpp
|
|
scene_qpainter_x11_backend.cpp
|
|
x11windowed_backend.cpp
|
|
)
|
|
|
|
add_library(KWinWaylandX11Backend MODULE ${X11BACKEND_SOURCES})
|
|
target_link_libraries(KWinWaylandX11Backend kwin X11::XCB)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinWaylandX11Backend
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
)
|