[Mesa-dev] [PATCH v3 12/48] meson: don't allow glvnd on windows
Dylan Baker
dylan at pnwbakers.com
Tue Aug 7 00:50:52 UTC 2018
---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 75f7f1c672d..25de31bfabd 100644
--- a/meson.build
+++ b/meson.build
@@ -356,7 +356,9 @@ endif
with_glvnd = get_option('glvnd')
if with_glvnd
- if with_glx == 'xlib' or with_glx == 'gallium-xlib'
+ if with_platform_windows
+ error('glvnd cannot be used on Windows')
+ elif with_glx == 'xlib' or with_glx == 'gallium-xlib'
error('Cannot build glvnd support for GLX that is not DRI based.')
elif with_glx == 'disabled' and not with_egl
error('glvnd requires DRI based GLX and/or EGL')
--
2.18.0
More information about the mesa-dev
mailing list