diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-04-18 13:17:50 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-05-17 11:06:01 -0700 |
commit | 1e81af21ea04825de1e7976bbd24a54cefe17f2c (patch) | |
tree | 1b5c1b965c206f4b91c186aaf5a84735e47cc494 | |
parent | bd3b3c44a410225e1daa6bc76601cdfe1be18484 (diff) |
meson: don't build glx or dri by default on windows
-rw-r--r-- | meson.build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 1f6e1a77b8..988bcb3c28 100644 --- a/meson.build +++ b/meson.build @@ -289,9 +289,13 @@ 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' - with_dri = true + if host_machine.system() == 'windows' + with_glx = 'disabled' + else + # Even when building just gallium drivers the user probably wants dri + with_glx = 'dri' + with_dri = true + 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 |