BUG: make sure all returns for ConvertToRelativeOutputPath get passed by ConvertToOutputPath
This commit is contained in:
parent
9fe79b2297
commit
39f112b71b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue