mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
meson: Don't pass GNU-like compiler wargs on MSVC
cl : Command line error D8021 : invalid numeric argument '/Wno-missing-include-dirs'
This commit is contained in:
parent
7397eb0cd4
commit
8875fe49ec
1 changed files with 6 additions and 3 deletions
|
@ -14,9 +14,12 @@ if not dca_dep.found()
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# autotools didn't use the libdca pkg-config cflags, and they
|
no_warn_c_args = []
|
||||||
# can point to a non-existing location (/usr/include/dca)
|
if cc.get_id() != 'msvc'
|
||||||
no_warn_c_args = ['-Wno-missing-include-dirs']
|
# autotools didn't use the libdca pkg-config cflags, and they
|
||||||
|
# can point to a non-existing location (/usr/include/dca)
|
||||||
|
no_warn_c_args = ['-Wno-missing-include-dirs']
|
||||||
|
endif
|
||||||
|
|
||||||
if dca_dep.found()
|
if dca_dep.found()
|
||||||
gstdtsdec = library('gstdtsdec',
|
gstdtsdec = library('gstdtsdec',
|
||||||
|
|
Loading…
Reference in a new issue