From 607585e22bd6dc1af9e5c3f66f34b7fb9250b07c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=9D=E8=BB=92?= <1687701+HKunogi@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:11:39 -0300 Subject: [PATCH] SCons: Fix MSVC version check for VS Preview --- methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/methods.py b/methods.py index 04541c72ad2..9e881773c92 100644 --- a/methods.py +++ b/methods.py @@ -828,7 +828,7 @@ def get_compiler_version(env): sem_ver = split[1].split(".") ret["major"] = int(sem_ver[0]) 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 # that can wait until metadata is actually used for something. if split[0] == "catalog_buildVersion":