5d946e3762
Let's rather not build the plugin if we don't have the dependency then building it without OpenGL support. Simplifies the code a bit and makes the backend overall more useful and goes along with e.g. the Wayland one which has EGL also as a hard dependency for the plugin. REVIEW: 124697
16 lines
386 B
CMake
16 lines
386 B
CMake
set(X11BACKEND_SOURCES
|
|
logging.cpp
|
|
scene_qpainter_x11_backend.cpp
|
|
screens_x11windowed.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/
|
|
)
|