mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 07:19:50 +00:00
meson: Update DirectX-Headers dependency to 1.602.0 version with fallback to the wrap
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16597>
This commit is contained in:
parent
a4323b0979
commit
4a9e068a6e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user