Przeglądaj źródła

Merge topic 'ninja-swift-map-file-path'

3391a3eca8 Ninja: do not normalise swift support file paths

Acked-by: Kitware Robot <[email protected]>
Merge-request: !3597
Brad King 6 lat temu
rodzic
commit
9111590aca
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      Source/cmNinjaTargetGenerator.cxx

+ 2 - 2
Source/cmNinjaTargetGenerator.cxx

@@ -910,8 +910,8 @@ void cmNinjaTargetGenerator::WriteObjectBuildStatements()
   this->GetBuildFileStream() << "\n";
 
   if (!this->SwiftOutputMap.empty()) {
-    std::string const mapFilePath = this->ConvertToNinjaPath(
-      this->GeneratorTarget->GetSupportDirectory() + "/output-file-map.json");
+    std::string const mapFilePath =
+      this->GeneratorTarget->GetSupportDirectory() + "/output-file-map.json";
     std::string const targetSwiftDepsPath = [this]() -> std::string {
       cmGeneratorTarget const* target = this->GeneratorTarget;
       if (const char* name = target->GetProperty("Swift_DEPENDENCIES_FILE")) {