cl : Command line error D8021 : invalid numeric argument '/Wno-missing-include-dirs'
endif
endif
-# 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']
+no_warn_c_args = []
+if cc.get_id() != 'msvc'
+ # 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()
gstdtsdec = library('gstdtsdec',