Przeglądaj źródła

[Buildsystem] Fix path format for SCU builds on Windows

A Thousand Ships 8 miesięcy temu
rodzic
commit
1c522c9f0c
1 zmienionych plików z 1 dodań i 0 usunięć
  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