Commit c359fc07 authored by Martin Flöser's avatar Martin Flöser

[platforms/virtual] Always link SceneOpenGLBackend

Egl support is not optional in virtual platform, so always compile it in.

BUG: 385301
parent b2f1e538
......@@ -10,10 +10,10 @@ include(ECMQtDeclareLoggingCategory)
ecm_qt_declare_logging_category(VIRTUAL_SOURCES HEADER logging.h IDENTIFIER KWIN_VIRTUAL CATEGORY_NAME kwin_platform_virtual DEFAULT_SEVERITY Critical)
add_library(KWinWaylandVirtualBackend MODULE ${VIRTUAL_SOURCES})
target_link_libraries(KWinWaylandVirtualBackend kwin SceneQPainterBackend)
target_link_libraries(KWinWaylandVirtualBackend kwin SceneQPainterBackend SceneOpenGLBackend)
if(HAVE_GBM)
target_link_libraries(KWinWaylandVirtualBackend SceneOpenGLBackend gbm::gbm)
target_link_libraries(KWinWaylandVirtualBackend gbm::gbm)
endif()
install(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment