meson: Make the glvnd vendor name configurable

Leave the default as "mesa", but this enables parallel Mesa installs.

Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7674>
This commit is contained in:
Adam Jackson
2020-11-18 10:26:19 -05:00
committed by Marge Bot
parent 9a3aaffeb8
commit df0157dc69
5 changed files with 17 additions and 5 deletions

View File

@@ -478,6 +478,7 @@ if with_glx != 'disabled'
endif
with_glvnd = get_option('glvnd')
glvnd_vendor_name = get_option('glvnd-vendor-name')
if with_glvnd
if with_platform_windows
error('glvnd cannot be used on Windows')