summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHK-SHAO <hk-shao@foxmail.com>2023-04-07 17:44:39 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-07 17:44:39 +0200
commit9598eb9638e9638d4d0e894d7c73429007149bd2 (patch)
tree7514b3adc9c8c195370c67c3b1b25716b32a2db6
parentba9f2981f19b3b2c721210b165e315540a7ecb49 (diff)
Fix the Python type error when creating the .sln file
(cherry picked from commit 19a8efc8759794bc39121809016245988f2db216)
-rw-r--r--methods.py2
1 files changed, 1 insertions, 1 deletions
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):