summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));
}
}