meson: add dependencies needed by wsi_common_x11.c even on non-drm platforms

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11907
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32012>
This commit is contained in:
Eric Engestrom
2024-11-06 19:31:54 +01:00
committed by Marge Bot
parent 3e7be078f8
commit 06cca41889

View File

@@ -2133,6 +2133,12 @@ if with_platform_x11
with_gallium_vdpau or with_gallium_xa)
dep_xcb_xfixes = dependency('xcb-xfixes')
endif
if with_any_vk
dep_xcb_dri3 = dependency('xcb-dri3', version : '>= 1.13')
dep_xcb_present = dependency('xcb-present', version : '>= 1.13')
dep_xcb_shm = dependency('xcb-shm')
dep_xshmfence = dependency('xshmfence', version : '>= 1.1')
endif
if with_xlib_lease or with_any_vk
dep_xcb_xrandr = dependency('xcb-randr')
endif