aboutsummaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorBrent Taylor2017-07-26 21:45:11 -0700
committerBrent Taylor2017-07-26 21:45:11 -0700
commit90f853f710ce306af6fabaeb408a57f49fba75f8 (patch)
treef3aff19a0ae90d598d6e2aea38efd42922e0dc6b /platform/windows
parenta116f04a3e4d0028a79d84f3f23ded0061d48d3d (diff)
downloadgodot-90f853f710ce306af6fabaeb408a57f49fba75f8.tar.gz
godot-90f853f710ce306af6fabaeb408a57f49fba75f8.tar.zst
godot-90f853f710ce306af6fabaeb408a57f49fba75f8.zip
Support MSVC (2015) build tools
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 8cfddd4db..91e9765d6 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -114,7 +114,7 @@ def can_build():
if (os.name == "nt"):
# building natively on windows!
- if (os.getenv("VSINSTALLDIR")):
+ if (os.getenv("VCINSTALLDIR")):
return True
else:
print("\nMSVC not detected, attempting Mingw.")
@@ -214,7 +214,7 @@ def configure(env):
winver = "0x0600" # Windows Vista is the minimum target for windows builds
env['is_mingw'] = False
- if (os.name == "nt" and os.getenv("VSINSTALLDIR") != None):
+ if (os.name == "nt" and os.getenv("VCINSTALLDIR")):
# build using visual studio
env['ENV']['TMP'] = os.environ['TMP']
env.Append(CPPPATH=['#platform/windows/include'])