vcpkg/ports/gstreamer/fix-clang-cl-ugly.patch

14 lines
432 B
Diff
Raw Normal View History

diff --git a/meson.build b/meson.build
index 14be48c4c..83d019874 100644
--- a/meson.build
+++ b/meson.build
@@ -31,7 +31,7 @@ if have_cxx
cxx = meson.get_compiler('cpp')
endif
-if cc.get_id() == 'msvc'
+if cc.get_argument_syntax() == 'msvc'
msvc_args = [
# Ignore several spurious warnings for things gstreamer does very commonly
# If a warning is completely useless and spammy, use '/wdXXXX' to suppress it