From 06cca41889eedb8c1c2beef2d2c924907910ecfb Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 6 Nov 2024 19:31:54 +0100 Subject: [PATCH] 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: --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) 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