summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2024-09-29 16:51:14 +0200
committerGitHub <noreply@github.com>2024-09-29 16:51:14 +0200
commit72cff2ed591ca6da76ef287d2afcca35d59402df (patch)
tree2abef0affa400cce1967fc8ea4011ab636cd209b
parent1fc82087658066935bed9e1350d62e334c7e0309 (diff)
parent9a8fcd52637d6e61003bd5ba8a25d48ec6cce989 (diff)
downloadredot-engine-72cff2ed591ca6da76ef287d2afcca35d59402df.tar.gz
Merge pull request #97618 from Repiteo/scons/decode-fix
SCons: Fix MSVC decode error
-rw-r--r--methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 411ce59d9e..df7ca5a59f 100644
--- a/methods.py
+++ b/methods.py
@@ -807,7 +807,7 @@ def get_compiler_version(env):
if env.msvc and not using_clang(env):
try:
- args = [env["VSWHERE"], "-latest", "-products", "*", "-requires", "Microsoft.Component.MSBuild"]
+ args = [env["VSWHERE"], "-latest", "-products", "*", "-requires", "Microsoft.Component.MSBuild", "-utf8"]
version = subprocess.check_output(args, encoding="utf-8").strip()
for line in version.splitlines():
split = line.split(":", 1)