ENH: fix problem if there are .. in the path to the source file specified in a source group
This commit is contained in:
parent
4650f78dd5
commit
bebb6b1767
|
@ -124,6 +124,7 @@ bool cmSourceGroupCommand::InitialPass(std::vector<std::string> const& args)
|
||||||
src += "/";
|
src += "/";
|
||||||
src += args[i];
|
src += args[i];
|
||||||
}
|
}
|
||||||
|
src = cmSystemTools::CollapseFullPath(src.c_str());
|
||||||
sg->AddGroupFile(src.c_str());
|
sg->AddGroupFile(src.c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue