Commit 03286b7b authored by D Scott Phillips's avatar D Scott Phillips Committed by Tim-Philipp Müller

meson: don't add_global_arguments when being built as a subproject
parent fcb938ca
......@@ -41,7 +41,7 @@ endif
# If a warning is completely useless and spammy, use '/wdXXXX' to suppress it
# If a warning is harmless but hard to fix, use '/woXXXX' so it's shown once
# NOTE: Only add warnings here if you are sure they're spurious
if cc.get_id() == 'msvc'
if cc.get_id() == 'msvc' and not meson.is_subproject()
add_global_arguments('/wd4018', '/wd4244', '/wd4996', language : 'c')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment