From dce4067e838c7f557861b107abfff45233ddf62c Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 1 Apr 2024 01:00:53 +0900 Subject: [PATCH] meson: d3d11: Add support for MinGW DirectXMath package Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3428 Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build index 94cba50a9d..f2f3ab5f68 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build +++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build @@ -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()