[Mesa-dev] [PATCH v3 11/48] meson: don't build glx or dri by default on windows
Dylan Baker
dylan at pnwbakers.com
Tue Aug 7 00:50:51 UTC 2018
---
meson.build | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 37c07eaa581..75f7f1c672d 100644
--- a/meson.build
+++ b/meson.build
@@ -264,8 +264,12 @@ if with_glx == 'auto'
elif with_platform_haiku
with_glx = 'disabled'
elif with_gallium
- # Even when building just gallium drivers the user probably wants dri
- with_glx = 'dri'
+ if host_machine.system() == 'windows'
+ with_glx = 'disabled'
+ else
+ # Even when building just gallium drivers the user probably wants dri
+ with_glx = 'dri'
+ endif
elif with_platform_x11 and with_any_opengl and not with_any_vk
# The automatic behavior should not be to turn on xlib based glx when
# building only vulkan drivers
--
2.18.0
More information about the mesa-dev
mailing list