mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
Merge branch 'upstream-kwsys' into update-kwsys
This commit is contained in:
@@ -3085,7 +3085,7 @@ SystemToolsAppendComponents(
|
||||
{
|
||||
if(*i == "..")
|
||||
{
|
||||
if(out_components.begin() != out_components.end())
|
||||
if(out_components.size() > 1)
|
||||
{
|
||||
out_components.erase(out_components.end()-1, out_components.end());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user