Merge pull request #75309 from HK-SHAO/fix-python-type-error

Fix the Python type error when creating the .sln file
This commit is contained in:
Rémi Verschelde 2023-04-05 20:21:13 +02:00
commit 6935216b5c
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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