diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-02-20 13:52:43 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-02-20 13:52:43 (GMT) |
commit | fc170d5be6ab6fa91e2ddb4eddbb9f805eb06bdf (patch) | |
tree | 0506c3944071f30f9c2a5316a236718fbf9a1bb4 /Source/cmLocalUnixMakefileGenerator.cxx | |
parent | e427844722233f33a5520138ed086aadf21a01bb (diff) | |
download | CMake-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.cxx | 6 |
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; } |