From 210c01c77b698f7fe3509c5806af1d5fe3cc7c1d Mon Sep 17 00:00:00 2001
From: Simon Zeni <simon@bl4ckb0ne.ca>
Date: Tue, 23 Aug 2022 05:41:30 -0400
Subject: [PATCH] tests: disable OpenGL client compositor test if GLX is not
 available

---
 tests/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index b865258df..f3167e73b 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -36,6 +36,7 @@ if(XRT_HAVE_VULKAN)
 	list(APPEND tests tests_comp_client_vulkan)
 endif()
 if(XRT_HAVE_OPENGL
+   AND XRT_HAVE_OPENGL_GLX
    AND XRT_HAVE_SDL2
    AND (WIN32 OR VK_USE_PLATFORM_XLIB_XRANDR_EXT)
 	)
-- 
GitLab