From 4a9e068a6e1336e5c85569df5d051ad0aa0f4098 Mon Sep 17 00:00:00 2001 From: Sil Vilerino Date: Mon, 23 May 2022 07:06:58 -0700 Subject: [PATCH] meson: Update DirectX-Headers dependency to 1.602.0 version with fallback to the wrap Reviewed-by: Erik Faye-Lund Part-of: --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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