summaryrefslogtreecommitdiff
path: root/modules/raycast
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-26 12:55:23 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-27 16:10:53 +0300
commit8dab4a2aa3a078968e3df641ee607e1fb51ddfe2 (patch)
treea83d6ca12e39f1acd620db1418635e7772cccf74 /modules/raycast
parent85ef0a1058fb0acbf550b8d3674d02d9023de82b (diff)
[Windows] Improve build environment detection, add support for Windows on ARM.
Diffstat (limited to 'modules/raycast')
-rw-r--r--modules/raycast/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/raycast/config.py b/modules/raycast/config.py
index 438779343e..833ad50018 100644
--- a/modules/raycast/config.py
+++ b/modules/raycast/config.py
@@ -1,5 +1,8 @@
def can_build(env, platform):
# Depends on Embree library, which only supports x86_64 and arm64.
+ if platform == "windows":
+ return env["arch"] == "x86_64" # TODO build for Windows on ARM
+
return env["arch"] in ["x86_64", "arm64"]