summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-18 13:19:20 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-05-17 11:06:01 -0700
commitd67e7b2ade2a6b08ae804dde675ca6cff059f536 (patch)
treea619320a6cb149109867dd87a10081e70e99f7ce
parent1e81af21ea04825de1e7976bbd24a54cefe17f2c (diff)
meson: don't allow glvnd on windows
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 988bcb3c28..65811858d1 100644
--- a/meson.build
+++ b/meson.build
@@ -377,7 +377,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')