From 719a334f8470671810fde4f817dbfe181e0cf4b6 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 19 Apr 2002 09:00:35 -0400 Subject: [PATCH] BUG: try to make sure a depend file only has one rule --- Source/cmUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 9db92ccaf..b9677a8d0 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 ;