meson: Fix build as subproject

Use add_project_arguments instead of add_global_arguments.

Should fix #840.
This commit is contained in:
Nick Wellnhofer 2025-01-21 17:35:04 +01:00
parent 1c82bca6bd
commit b524cd7af2

View File

@ -77,7 +77,7 @@ global_args = [
'-Wno-array-bounds',
]
add_global_arguments(global_args, language: 'c')
add_project_arguments(global_args, language: 'c')
# options