[mutter/bilelmoussaoui/meson-without-x11: 16/17] build: Make GLX dependent on X11
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/bilelmoussaoui/meson-without-x11: 16/17] build: Make GLX dependent on X11
- Date: Tue, 17 May 2022 09:26:54 +0000 (UTC)
commit a07281759448253221e3b6f75e74f143ec7f1c17
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 825c863fb2..bb534e915f 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]