mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
meson: use add_project_arguments instead of global
The `add_global*_arguments` family of functions affect subprojects, and
are therefore generally discouraged from being used.
Fixes: a42c2293ab ("wsi: Metal support")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31267>
This commit is contained in:
parent
e1a53d41c9
commit
3df03f100b
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ project(
|
|||
|
||||
if host_machine.system() == 'darwin'
|
||||
add_languages('objc', native : false)
|
||||
add_global_arguments('-fobjc-arc', language : 'objc')
|
||||
add_project_arguments('-fobjc-arc', language : 'objc')
|
||||
endif
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue