summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-11-10 20:39:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-11-10 20:39:10 (GMT)
commit144bc1e55c48698de3ceaea7493b6d78939e77f2 (patch)
treee940e6e4bdf7a07d75dac27c7fb190f8097b5a4b /Source/cmLocalUnixMakefileGenerator.cxx
parent6257ca30a593221f7628e48e1ce067b2dc838be3 (diff)
downloadCMake-144bc1e55c48698de3ceaea7493b6d78939e77f2.zip
CMake-144bc1e55c48698de3ceaea7493b6d78939e77f2.tar.gz
CMake-144bc1e55c48698de3ceaea7493b6d78939e77f2.tar.bz2
FIX: make sure the object file name is correctly mangled for depend information
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 72a35b7..5b34a48 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -1892,6 +1892,7 @@ bool cmLocalUnixMakefileGenerator::OutputObjectDepends(std::ostream& fout)
m_GlobalGenerator->GetLanguageOutputExtensionFromExtension(
(*source)->GetSourceExtension().c_str());
s += outExt;
+ s = this->CreateSafeUniqueObjectFileName(s.c_str());
fout << this->ConvertToRelativeOutputPath(s.c_str()) << " : "
<< this->ConvertToRelativeOutputPath(dep->c_str()) << "\n";
ret = true;