Browse Source

cmNinjaNormalTargetGenerator: make sure comments match parameter names

Daniel Pfeifer 9 years ago
parent
commit
3fab1fef23
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmNinjaNormalTargetGenerator.cxx

+ 2 - 2
Source/cmNinjaNormalTargetGenerator.cxx

@@ -336,7 +336,7 @@ std::vector<std::string> cmNinjaNormalTargetGenerator::ComputeLinkCmd()
         std::string targetOutputReal =
           this->ConvertToNinjaPath(gt.GetFullPath(cfgName,
                                                   /*implib=*/false,
-                                                  /*realpath=*/true));
+                                                  /*realname=*/true));
         cmakeCommand += targetOutputReal;
         cmakeCommand += " || true";
         linkCmds.push_back(cmakeCommand);
@@ -414,7 +414,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
   std::string targetOutputReal =
     ConvertToNinjaPath(gt.GetFullPath(cfgName,
                                       /*implib=*/false,
-                                      /*realpath=*/true));
+                                      /*realname=*/true));
   std::string targetOutputImplib =
     ConvertToNinjaPath(gt.GetFullPath(cfgName,
                                       /*implib=*/true));