From 52832053a05c1d60a7fc74524e8afb9b3163a6f0 Mon Sep 17 00:00:00 2001 From: HK-SHAO Date: Sat, 25 Mar 2023 15:09:50 +0800 Subject: [PATCH] Fix the Python type error when creating the .sln file (cherry picked from commit 19a8efc8759794bc39121809016245988f2db216) --- methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/methods.py b/methods.py index 394ba8a2795..fd56c02049a 100644 --- a/methods.py +++ b/methods.py @@ -890,7 +890,7 @@ def generate_vs_project(env, num_jobs): for plat_id in ModuleConfigs.PLATFORM_IDS ] self.arg_dict["cpppaths"] += ModuleConfigs.for_every_variant(env["CPPPATH"] + [includes]) - self.arg_dict["cppdefines"] += ModuleConfigs.for_every_variant(env["CPPDEFINES"] + defines) + self.arg_dict["cppdefines"] += ModuleConfigs.for_every_variant(list(env["CPPDEFINES"]) + defines) self.arg_dict["cmdargs"] += ModuleConfigs.for_every_variant(cli_args) def build_commandline(self, commands):