From 2a5f8796e78c7892ca604769772a0ebf4084e5a5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 17 Mar 2005 18:37:36 -0500 Subject: [PATCH] BUG: Need to collapse full paths before depending on them to remove ./ and ../ to make sure target names match. --- Source/cmLocalUnixMakefileGenerator2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx index 3d0c57757..58053a209 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)); } }