diff --git a/meson.build b/meson.build index 6b354cba503..bdae2527da6 100644 --- a/meson.build +++ b/meson.build @@ -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