mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
meson: don't add_global_arguments when being built as a subproject
https://bugzilla.gnome.org/show_bug.cgi?id=773568
This commit is contained in:
parent
adeee44b07
commit
5a7c342922
1 changed files with 3 additions and 1 deletions
|
@ -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')
|
||||
endif
|
||||
# Disable SAFESEH with MSVC for plugins and libs that use external deps that
|
||||
# are built with MinGW
|
||||
noseh_link_args = ['/SAFESEH:NO']
|
||||
|
|
Loading…
Reference in a new issue