ENH: fix problem if there are .. in the path to the source file specified in a source group

This commit is contained in:
Bill Hoffman 2006-02-27 23:06:44 -05:00
parent 4650f78dd5
commit bebb6b1767
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ bool cmSourceGroupCommand::InitialPass(std::vector<std::string> const& args)
src += "/";
src += args[i];
}
src = cmSystemTools::CollapseFullPath(src.c_str());
sg->AddGroupFile(src.c_str());
}
else