From b524cd7af25b6c41ed0f1fc707a80779c7cb4ca8 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Tue, 21 Jan 2025 17:35:04 +0100 Subject: [PATCH] meson: Fix build as subproject Use add_project_arguments instead of add_global_arguments. Should fix #840. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5dffe2f2..210999bd 100644 --- a/meson.build +++ b/meson.build @@ -77,7 +77,7 @@ global_args = [ '-Wno-array-bounds', ] -add_global_arguments(global_args, language: 'c') +add_project_arguments(global_args, language: 'c') # options