1
0
Fork 0

detect can build from env var

This commit is contained in:
Travis Lange 2025-01-02 10:05:07 -05:00
parent 2582793d40
commit 246589831f
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ for x in sorted(glob.glob("platform/*")):
platform_exporters.append(platform_name)
if os.path.exists(x + "/api/api.cpp"):
platform_apis.append(platform_name)
if detect.can_build():
if os.getenv("GODOT_CAN_BUILD_" + platform_name.upper()) or detect.can_build():
x = x.replace("platform/", "") # rest of world
x = x.replace("platform\\", "") # win32
platform_list += [x]