summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 9db92cc..b9677a8 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -1364,7 +1364,7 @@ void cmUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout)
dep != (*source)->GetDepends().end(); ++dep)
{
std::string dependfile =
- this->ConvertToOutputPath(dep->c_str());
+ this->ConvertToOutputPath(cmSystemTools::CollapseFullPath(dep->c_str()).c_str());
if(emitted.insert(dependfile).second)
{
fout << " \\\n" << dependfile ;