From 8dab4a2aa3a078968e3df641ee607e1fb51ddfe2 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Fri, 26 Aug 2022 12:55:23 +0300 Subject: [Windows] Improve build environment detection, add support for Windows on ARM. --- modules/raycast/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/raycast/config.py') 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"] -- cgit v1.2.3