[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:
Martin Flöser 2017-10-03 19:19:35 +02:00
parent b2f1e538d5
commit c359fc076d

View file

@ -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) 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}) add_library(KWinWaylandVirtualBackend MODULE ${VIRTUAL_SOURCES})
target_link_libraries(KWinWaylandVirtualBackend kwin SceneQPainterBackend) target_link_libraries(KWinWaylandVirtualBackend kwin SceneQPainterBackend SceneOpenGLBackend)
if(HAVE_GBM) if(HAVE_GBM)
target_link_libraries(KWinWaylandVirtualBackend SceneOpenGLBackend gbm::gbm) target_link_libraries(KWinWaylandVirtualBackend gbm::gbm)
endif() endif()
install( install(