Commit 8e15a1ed authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: fix CollapseFullPath so a trailing slash is not added to directories

parent a7065630
......@@ -1250,6 +1250,10 @@ std::string cmSystemTools::CollapseFullPath(const char* in_name)
{
dir = cmSystemTools::GetCurrentWorkingDirectory();
}
if(file == "")
{
return dir;
}
return dir + "/" + file;
#endif
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment