浏览代码

Merge pull request #99629 from AThousandShips/fix_scu_win

[Buildsystem] Fix path format for SCU builds on Windows
Thaddeus Crews 9 月之前
父节点
当前提交
20d4755c64
共有 1 个文件被更改,包括 1 次插入0 次删除
  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