Browse Source

BUG: make sure all returns for ConvertToRelativeOutputPath get passed by ConvertToOutputPath

Bill Hoffman 21 years ago
parent
commit
39f112b71b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmLocalGenerator.cxx

+ 1 - 1
Source/cmLocalGenerator.cxx

@@ -396,7 +396,7 @@ std::string cmLocalGenerator::ConvertToRelativeOutputPath(const char* p)
      (pathIn[0] != '/' && pathIn[1] != ':') || 
      pathIn.find("..") == 0)
     {
-    return pathIn;
+    return cmSystemTools::ConvertToOutputPath(p);
     } 
 
   // do not use relative paths for network build trees