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/6495>
This commit is contained in:
Seungha Yang 2024-04-01 01:00:53 +09:00
parent 5432c8fef9
commit dce4067e83

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()