mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 05:10:10 -05:00
BUG: Need to collapse full paths before depending on them to remove ./ and ../ to make sure target names match.
This commit is contained in:
@@ -2598,7 +2598,7 @@ cmLocalUnixMakefileGenerator2
|
||||
else if(cmSystemTools::FileIsFullPath(name))
|
||||
{
|
||||
// This is a path to a file. Just trust that it will be present.
|
||||
depends.push_back(name);
|
||||
depends.push_back(cmSystemTools::CollapseFullPath(name));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user