summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-19 13:00:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-19 13:00:35 (GMT)
commit719a334f8470671810fde4f817dbfe181e0cf4b6 (patch)
tree03749af54eee86511d00969a8e5483616fd164a4 /Source/cmUnixMakefileGenerator.cxx
parent75f9434374ec2ed5e0f516ff914e9c2b4c519e33 (diff)
downloadCMake-719a334f8470671810fde4f817dbfe181e0cf4b6.zip
CMake-719a334f8470671810fde4f817dbfe181e0cf4b6.tar.gz
CMake-719a334f8470671810fde4f817dbfe181e0cf4b6.tar.bz2
BUG: try to make sure a depend file only has one rule
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 ;