meson: d3d12: Add support for MinGW DirectXMath package

This is a similar issue that was found for d3d11:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6495

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9464>
This commit is contained in:
Marc-André Lureau 2025-07-30 15:50:56 +04:00 committed by GStreamer Marge Bot
parent ffc3d16983
commit 78f0f61523
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ 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,
required: d3d12_option)
if not directxmath_dep.found()

View File

@ -202,7 +202,7 @@ 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,
required: d3d12_option)
if not directxmath_dep.found()