From 119e624f73719a26770e94f6cf4dedcfeafd0fc9 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sun, 13 Oct 2024 23:04:58 +0530 Subject: [PATCH] meson: Explicitly use cpp_std=c++11 for dxva dxva is built unconditionally on all platforms where introspection is enabled, so let's fix the build on macOS so that introspection can be enabled there: https://gitlab.freedesktop.org/nirbheek/cerbero/-/jobs/65009118 Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/dxva/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/dxva/meson.build b/subprojects/gst-plugins-bad/gst-libs/gst/dxva/meson.build index a00d03f25c..6eba003556 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/dxva/meson.build +++ b/subprojects/gst-plugins-bad/gst-libs/gst/dxva/meson.build @@ -38,7 +38,8 @@ gstdxva = library('gstdxva-' + api_version, version : libversion, soversion : soversion, install : true, - dependencies : [gstvideo_dep, gstcodecs_dep] + dependencies : [gstvideo_dep, gstcodecs_dep], + override_options: ['cpp_std=c++11'], ) library_def = {'lib': gstdxva}