Fix the Python type error when creating the .sln file

(cherry picked from commit 19a8efc875)
This commit is contained in:
HK-SHAO 2023-04-07 17:44:39 +02:00 committed by Yuri Sizov
parent ba9f2981f1
commit 9598eb9638
1 changed files with 1 additions and 1 deletions

View File

@ -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):