Commit 5a7c3429 authored by Scott D Phillips's avatar Scott D Phillips Committed by Tim-Philipp Müller
Browse files

meson: don't add_global_arguments when being built as a subproject
parent adeee44b
......@@ -29,7 +29,9 @@ if cc.get_id() == 'msvc'
# 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
add_global_arguments('/wd4018', '/wd4244', '/wd4996', language : 'c')
if not meson.is_subproject()
add_global_arguments('/wd4018', '/wd4244', '/wd4996', language : 'c')
# Disable SAFESEH with MSVC for plugins and libs that use external deps that
# are built with MinGW
noseh_link_args = ['/SAFESEH:NO']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment