mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
SCons: Fix MSVC version check for VS Preview
This commit is contained in:
parent
f4af8201ba
commit
607585e22b
@ -828,7 +828,7 @@ def get_compiler_version(env):
|
|||||||
sem_ver = split[1].split(".")
|
sem_ver = split[1].split(".")
|
||||||
ret["major"] = int(sem_ver[0])
|
ret["major"] = int(sem_ver[0])
|
||||||
ret["minor"] = int(sem_ver[1])
|
ret["minor"] = int(sem_ver[1])
|
||||||
ret["patch"] = int(sem_ver[2])
|
ret["patch"] = int(sem_ver[2].split()[0])
|
||||||
# Could potentially add section for determining preview version, but
|
# Could potentially add section for determining preview version, but
|
||||||
# that can wait until metadata is actually used for something.
|
# that can wait until metadata is actually used for something.
|
||||||
if split[0] == "catalog_buildVersion":
|
if split[0] == "catalog_buildVersion":
|
||||||
|
Loading…
Reference in New Issue
Block a user