From 11eb88178bb73b019633414fafd42f7a5f8e4a74 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 bd354f6a3e..d06c136f6b 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()