mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-19 13:40:42 -06:00
ENH: fix problem if there are .. in the path to the source file specified in a source group
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user