[platforms/virtual] Always link SceneOpenGLBackend
Egl support is not optional in virtual platform, so always compile it in. BUG: 385301
This commit is contained in:
parent
b2f1e538d5
commit
c359fc076d
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue