Commit 6aea213c authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.
parent ffc01329
......@@ -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()
......
Supports Markdown
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