Browse Source

Fix the Python type error when creating the .sln file

(cherry picked from commit 19a8efc8759794bc39121809016245988f2db216)
HK-SHAO 2 years ago
parent
commit
50d6f74cee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      methods.py

+ 1 - 1
methods.py

@@ -751,7 +751,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):