vcpkg/ports/gstreamer/fix-clang-cl-ugly.patch
Alexander Neumann 02a26abda5
[gstreamer] fix clang-cl builds (#26096)
* gstreamer fix clang-cl

* v db
2022-08-03 10:40:07 -07:00

14 lines
432 B
Diff

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