Ver Fonte

Merge pull request #99629 from AThousandShips/fix_scu_win

[Buildsystem] Fix path format for SCU builds on Windows
Thaddeus Crews há 9 meses atrás
pai
commit
20d4755c64
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      methods.py

+ 1 - 0
methods.py

@@ -102,6 +102,7 @@ def add_source_files_scu(self, sources, files, allow_gen=False):
         subdir = os.path.dirname(files)
         subdir = subdir if subdir == "" else subdir + "/"
         section_name = self.Dir(subdir).tpath
+        section_name = section_name.replace("\\", "/")  # win32
         # if the section name is in the hash table?
         # i.e. is it part of the SCU build?
         global _scu_folders