[macOS] Add support for the Apple Silicon (ARM64) build target.

This commit is contained in:
bruvzg
2020-06-23 22:01:42 +03:00
parent 9fc65fd1f1
commit 00299f15b4
8 changed files with 52 additions and 14 deletions

View File

@ -5,7 +5,7 @@ def can_build(env, platform):
# as doing lightmap generation and denoising on Android or HTML5
# would be a bit far-fetched.
desktop_platforms = ["linuxbsd", "osx", "windows"]
return env["tools"] and platform in desktop_platforms and env["bits"] == "64"
return env["tools"] and platform in desktop_platforms and env["bits"] == "64" and env["arch"] != "arm64"
def configure(env):