702b84b925
Summary: The EglOnXBackend is no longer needed in the core. It's only needed by the two x11 platform plugins. To best share it, it's moved into a common directory and compiled into a static library which in turn is linked by the two plugins. Reviewers: #plasma Subscribers: plasma-devel Projects: #plasma Differential Revision: https://phabricator.kde.org/D1413
16 lines
395 B
CMake
16 lines
395 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 eglx11common kwin X11::XCB)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinWaylandX11Backend
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
)
|