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




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

    build: Make GLX dependent on X11
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2354>

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 48e66a58bc..2bb71cc11b 100644
--- a/meson.build
+++ b/meson.build
@@ -177,7 +177,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]