Fix arm64/Windows build.

This commit is contained in:
bruvzg
2024-04-30 13:50:04 +03:00
parent 64520fe674
commit 986d297ed3
2 changed files with 4 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
def can_build(env, platform):
# Supported architectures depend on the Embree library.
# Supported architectures and platforms depend on the Embree library.
if env["arch"] == "arm64" and platform == "windows":
return False
if env["arch"] in ["x86_64", "arm64", "wasm32"]:
return True
# x86_32 only seems supported on Windows for now.
if env["arch"] == "x86_32" and platform == "windows":
return True
return False