From 9598eb9638e9638d4d0e894d7c73429007149bd2 Mon Sep 17 00:00:00 2001 From: HK-SHAO Date: Fri, 7 Apr 2023 17:44:39 +0200 Subject: 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(-) (limited to 'methods.py') diff --git a/methods.py b/methods.py index dddac9bd86..7654e6e86d 100644 --- a/methods.py +++ b/methods.py @@ -783,7 +783,7 @@ def generate_vs_project(env, num_jobs, project_name="godot"): 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): -- cgit v1.2.3