meson: d3d11: Add support for MinGW DirectXMath package

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3428
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6503>
This commit is contained in:
Seungha Yang 2024-04-01 01:00:53 +09:00 committed by GStreamer Marge Bot
parent 092c0eec66
commit 11eb88178b

View file

@ -196,8 +196,9 @@ have_dx_math = cxx.compiles('''
name: 'DirectXMath support in Windows SDK')
if not have_dx_math
directxmath_dep = dependency('directxmath',
directxmath_dep = dependency('DirectXMath', 'directxmath',
allow_fallback: true,
version: '>= 3.1.9',
required: d3d11_opt)
if not directxmath_dep.found()
subdir_done()