mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
meson: static link spirv-tools for darwin
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37495>
This commit is contained in:
parent
7267791292
commit
f21d0f2cbe
1 changed files with 2 additions and 1 deletions
|
|
@ -1854,7 +1854,8 @@ with_spirv_tools = get_option('spirv-tools') \
|
||||||
dep_spirv_tools = dependency(
|
dep_spirv_tools = dependency(
|
||||||
'SPIRV-Tools',
|
'SPIRV-Tools',
|
||||||
required : with_spirv_tools,
|
required : with_spirv_tools,
|
||||||
version : '>= 2024.1'
|
version : '>= 2024.1',
|
||||||
|
static : host_machine.system() == 'darwin',
|
||||||
)
|
)
|
||||||
if dep_spirv_tools.found()
|
if dep_spirv_tools.found()
|
||||||
pre_args += '-DHAVE_SPIRV_TOOLS'
|
pre_args += '-DHAVE_SPIRV_TOOLS'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue