vcpkg/ports/gstreamer/gstreamer-disable-no-unused.patch
Alexander Neumann 779ce74ef6
[gstreamer] enable builds on more platforms (#27050)
* gstreamer fix build on linux

* v db

* let ci actually build more platforms.

* move qtmultimedia on baseline

* gstreamer osx
2022-10-03 14:07:49 -07:00

15 lines
348 B
Diff

diff --git a/meson.build b/meson.build
index bed8c4e..772809e 100644
--- a/meson.build
+++ b/meson.build
@@ -435,8 +435,8 @@ if cc.has_header('execinfo.h')
endif
endif
gst_debug = get_option('gst_debug')
-if not gst_debug
+if not gst_debug and cc.has_argument('-Wno-unused')
add_project_arguments(['-Wno-unused'], language: 'c')
endif