BUG: fix CollapseFullPath so a trailing slash is not added to directories
This commit is contained in:
parent
a7065630f2
commit
8e15a1ede7
|
@ -1250,6 +1250,10 @@ std::string cmSystemTools::CollapseFullPath(const char* in_name)
|
|||
{
|
||||
dir = cmSystemTools::GetCurrentWorkingDirectory();
|
||||
}
|
||||
if(file == "")
|
||||
{
|
||||
return dir;
|
||||
}
|
||||
return dir + "/" + file;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue