From 6aea213c844e061d5c269913575e5a33c10fbc09 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 28 Jan 2021 14:18:38 +0200 Subject: [PATCH] platforms/x11: Build own vsync monitors only when GLX backend is built The SGIVideoSyncVsyncMonitor and OMLSyncControlVsyncMonitor use GLX, thus they should be compiled only if the GLX backend is built. --- plugins/platforms/x11/standalone/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/platforms/x11/standalone/CMakeLists.txt b/plugins/platforms/x11/standalone/CMakeLists.txt index 155940e055..eb75be594a 100644 --- a/plugins/platforms/x11/standalone/CMakeLists.txt +++ b/plugins/platforms/x11/standalone/CMakeLists.txt @@ -5,10 +5,8 @@ set(X11PLATFORM_SOURCES eglbackend.cpp logging.cpp non_composited_outline.cpp - omlsynccontrolvsyncmonitor.cpp overlaywindow_x11.cpp screenedges_filter.cpp - sgivideosyncvsyncmonitor.cpp windowselector.cpp x11_decoration_renderer.cpp x11_output.cpp @@ -31,6 +29,8 @@ if (HAVE_EPOXY_GLX) glx_context_attribute_builder.cpp glxbackend.cpp glxconvenience.cpp + omlsynccontrolvsyncmonitor.cpp + sgivideosyncvsyncmonitor.cpp ) endif()