summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-02-20 13:52:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-02-20 13:52:43 (GMT)
commitfc170d5be6ab6fa91e2ddb4eddbb9f805eb06bdf (patch)
tree0506c3944071f30f9c2a5316a236718fbf9a1bb4 /Source/cmLocalUnixMakefileGenerator.cxx
parente427844722233f33a5520138ed086aadf21a01bb (diff)
downloadCMake-fc170d5be6ab6fa91e2ddb4eddbb9f805eb06bdf.zip
CMake-fc170d5be6ab6fa91e2ddb4eddbb9f805eb06bdf.tar.gz
CMake-fc170d5be6ab6fa91e2ddb4eddbb9f805eb06bdf.tar.bz2
fix for correct path style in depend file
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 539a910..7ea04a5 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -1735,9 +1735,9 @@ bool cmLocalUnixMakefileGenerator::OutputObjectDepends(std::ostream& fout)
(*source)->GetDepends().begin();
dep != (*source)->GetDepends().end(); ++dep)
{
- fout << (*source)->GetSourceName()
- << this->GetOutputExtension(
- (*source)->GetSourceExtension().c_str()) << " : "
+ std::string s = (*source)->GetSourceName();
+ s += this->GetOutputExtension((*source)->GetSourceExtension().c_str());
+ fout << cmSystemTools::ConvertToOutputPath(s.c_str()) << " : "
<< cmSystemTools::ConvertToOutputPath(dep->c_str()) << "\n";
ret = true;
}