diff --git a/meson.build b/meson.build index 80115326664..facb16c40b6 100644 --- a/meson.build +++ b/meson.build @@ -675,7 +675,9 @@ dep_dxheaders = null_dep if with_gallium_d3d12 or with_microsoft_clc or with_microsoft_vk dep_dxheaders = dependency('directx-headers', required : false) if not dep_dxheaders.found() - dep_dxheaders = dependency('DirectX-Headers', fallback : ['DirectX-Headers', 'dep_dxheaders'], + dep_dxheaders = dependency('DirectX-Headers', + version : '>= 1.602.0', + fallback : ['DirectX-Headers', 'dep_dxheaders'], required : with_gallium_d3d12 or with_microsoft_vk ) endif