From c359fc076df40fc9a7ceda897971c246c6ccadff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Tue, 3 Oct 2017 19:19:35 +0200 Subject: [PATCH] [platforms/virtual] Always link SceneOpenGLBackend Egl support is not optional in virtual platform, so always compile it in. BUG: 385301 --- plugins/platforms/virtual/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/platforms/virtual/CMakeLists.txt b/plugins/platforms/virtual/CMakeLists.txt index 6654633766..673bfe3147 100644 --- a/plugins/platforms/virtual/CMakeLists.txt +++ b/plugins/platforms/virtual/CMakeLists.txt @@ -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(