You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Windows: Fix build with SCons 4.2.0
(cherry picked from commit c191cfbddf)
This commit is contained in:
@@ -149,7 +149,7 @@ def setup_msvc_auto(env):
|
|||||||
env["TARGET_ARCH"] = None
|
env["TARGET_ARCH"] = None
|
||||||
if env["bits"] != "default":
|
if env["bits"] != "default":
|
||||||
env["TARGET_ARCH"] = {"32": "x86", "64": "x86_64"}[env["bits"]]
|
env["TARGET_ARCH"] = {"32": "x86", "64": "x86_64"}[env["bits"]]
|
||||||
if env.has_key("msvc_version"):
|
if "msvc_version" in env:
|
||||||
env["MSVC_VERSION"] = env["msvc_version"]
|
env["MSVC_VERSION"] = env["msvc_version"]
|
||||||
env.Tool("msvc")
|
env.Tool("msvc")
|
||||||
env.Tool("mssdk") # we want the MS SDK
|
env.Tool("mssdk") # we want the MS SDK
|
||||||
|
|||||||
Reference in New Issue
Block a user