mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-08 23:05:08 +08:00
meson: always set USE_LIBGLVND
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28947>
This commit is contained in:
parent
21b527632e
commit
7187373ec2
@ -554,9 +554,7 @@ _glvnd = get_option('glvnd') \
|
|||||||
error_message: '''EGL lib suffix can't be used with libglvnd''')
|
error_message: '''EGL lib suffix can't be used with libglvnd''')
|
||||||
dep_glvnd = dependency('libglvnd', version : '>= 1.3.2', required : _glvnd)
|
dep_glvnd = dependency('libglvnd', version : '>= 1.3.2', required : _glvnd)
|
||||||
with_glvnd = dep_glvnd.found()
|
with_glvnd = dep_glvnd.found()
|
||||||
if with_glvnd
|
pre_args += '-DUSE_LIBGLVND=@0@'.format(with_glvnd ? '1' : '0')
|
||||||
pre_args += '-DUSE_LIBGLVND=1'
|
|
||||||
endif
|
|
||||||
glvnd_vendor_name = get_option('glvnd-vendor-name')
|
glvnd_vendor_name = get_option('glvnd-vendor-name')
|
||||||
|
|
||||||
if with_vulkan_icd_dir == ''
|
if with_vulkan_icd_dir == ''
|
||||||
|
Loading…
Reference in New Issue
Block a user