Explorar o código

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 %!s(int64=6) %!d(string=hai) anos
pai
achega
9111590aca
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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")) {