mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
meson: Fix usage of add_project_arguments()
This function does accept a list of arguments, so there is no need to iterate over it. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
b60acbab53
commit
99b08f0dd2
@ -206,9 +206,8 @@ glib_encoded_version = 'GLIB_VERSION_@0@_@1@'.format(glib_major_minor[0], glib_m
|
||||
spice_server_global_cflags += ['-DGLIB_VERSION_MIN_REQUIRED=@0@'.format(glib_encoded_version),
|
||||
'-DGLIB_VERSION_MAX_ALLOWED=@0@'.format(glib_encoded_version)]
|
||||
|
||||
foreach arg : compiler.get_supported_arguments(spice_server_global_cflags)
|
||||
add_project_arguments(arg, language : 'c')
|
||||
endforeach
|
||||
add_project_arguments(compiler.get_supported_arguments(spice_server_global_cflags),
|
||||
language : 'c')
|
||||
|
||||
#
|
||||
# Subdirectories
|
||||
|
||||
Loading…
Reference in New Issue
Block a user