From 96fb5a1bd907549458d4bfe9a95bcb89e83692b6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 14 Jul 2022 11:52:46 -0400 Subject: Set strict C warnings globally This is only used when serd is not a subproject. --- meson/warnings/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1