diff --git a/meson.build b/meson.build index c69659afc2c..9520da6252b 100644 --- a/meson.build +++ b/meson.build @@ -1892,8 +1892,10 @@ if with_platform_x11 with_gallium_omx != 'disabled')) dep_xcb_xfixes = dependency('xcb-xfixes') endif - if with_xlib_lease + if with_xlib_lease or with_any_vk dep_xcb_xrandr = dependency('xcb-randr') + endif + if with_xlib_lease dep_xlib_xrandr = dependency('xrandr', version : '>= 1.3') endif endif