[mutter/bilelmoussaoui/meson-without-x11: 6/7] build: Make GLX dependent on X11




commit 0bcee9c46ba58697aad2ff3abc877ce3e79c3ca8
Author: Christian Rauch <rauch christian gmx de>
Date:   Wed May 4 12:21:23 2022 +0200

    build: Make GLX dependent on X11

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 97f0d168e7..7a7a15a382 100644
--- a/meson.build
+++ b/meson.build
@@ -173,7 +173,7 @@ if have_egl
   egl_dep = dependency('egl')
 endif
 
-have_glx = get_option('glx')
+have_glx = get_option('glx') and have_x11_client
 if have_glx
   if not have_gl
     error('GLX support requires OpenGL to be enabled')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]