summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-17 23:37:36 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-17 23:37:36 (GMT)
commit2a5f8796e78c7892ca604769772a0ebf4084e5a5 (patch)
tree9f94d55afb87820166c76ef0920dc2f86e3b0812
parent1568f73825032eb5c6e777c7354dd039e74b1ae9 (diff)
downloadCMake-2a5f8796e78c7892ca604769772a0ebf4084e5a5.zip
CMake-2a5f8796e78c7892ca604769772a0ebf4084e5a5.tar.gz
CMake-2a5f8796e78c7892ca604769772a0ebf4084e5a5.tar.bz2
BUG: Need to collapse full paths before depending on them to remove ./ and ../ to make sure target names match.
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx
index 3d0c577..58053a2 100644
--- a/Source/cmLocalUnixMakefileGenerator2.cxx
+++ b/Source/cmLocalUnixMakefileGenerator2.cxx
@@ -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));
}
}