aboutsummaryrefslogtreecommitdiffstats
path: root/meson
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-14 11:52:46 -0400
committerDavid Robillard <d@drobilla.net>2022-07-14 11:53:04 -0400
commit96fb5a1bd907549458d4bfe9a95bcb89e83692b6 (patch)
tree794475b51cc492549b8639b0ffe87d09ba388d8b /meson
parent60390e3a44227b3fafb355bd9e9c5d00fb35fe92 (diff)
downloadserd-96fb5a1bd907549458d4bfe9a95bcb89e83692b6.tar.gz
serd-96fb5a1bd907549458d4bfe9a95bcb89e83692b6.tar.bz2
serd-96fb5a1bd907549458d4bfe9a95bcb89e83692b6.zip
Set strict C warnings globally
This is only used when serd is not a subproject.
Diffstat (limited to 'meson')
-rw-r--r--meson/warnings/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson/warnings/meson.build b/meson/warnings/meson.build
index 6780caed..4d23ad36 100644
--- a/meson/warnings/meson.build
+++ b/meson/warnings/meson.build
@@ -171,5 +171,5 @@ if is_variable('cc')
endif
all_c_warnings = cc.get_supported_arguments(all_c_warnings)
- add_project_arguments(all_c_warnings, language: ['c'])
+ add_global_arguments(all_c_warnings, language: ['c'])
endif