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

This commit is contained in:
Bill Hoffman 2004-10-14 16:50:38 -04:00
parent 9fe79b2297
commit 39f112b71b
1 changed files with 1 additions and 1 deletions

View File

@ -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