mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 05:33:11 +00:00
Fix build for macOS / iOS with the statically linked MoltenVK after VMA update.
This commit is contained in:
parent
be52c5bf6e
commit
6325ed6705
@ -40,6 +40,9 @@ elif env["platform"] == "android":
|
||||
# Our current NDK version only provides old Vulkan headers,
|
||||
# so we have to limit VMA.
|
||||
env_thirdparty_vma.AppendUnique(CPPDEFINES=["VMA_VULKAN_VERSION=1000000"])
|
||||
elif env["platform"] == "osx" or env["platform"] == "iphone":
|
||||
# MoltenVK supports only Vulkan 1.1 API, limit VMA to the same version.
|
||||
env_thirdparty_vma.AppendUnique(CPPDEFINES=["VMA_VULKAN_VERSION=1001000"])
|
||||
|
||||
env_thirdparty_vma.add_source_files(thirdparty_obj, thirdparty_sources_vma)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user