summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-18 15:48:18 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-18 15:48:18 (GMT)
commit6abbc7b1ff4717f42ca374a9ad793e3d25f6956c (patch)
tree46c3a288dd7aee1b4f8623838cbc8bbc4c5cf50e
parent6b7257db613d38f56f427fefa988aa8fcd49cf56 (diff)
downloadCMake-6abbc7b1ff4717f42ca374a9ad793e3d25f6956c.zip
CMake-6abbc7b1ff4717f42ca374a9ad793e3d25f6956c.tar.gz
CMake-6abbc7b1ff4717f42ca374a9ad793e3d25f6956c.tar.bz2
BUG: make sure output path is used for target with canonical name
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 2517912..53ab425 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -1295,7 +1295,11 @@ void cmLocalUnixMakefileGenerator::OutputLibraryRule(std::ostream& fout,
commands);
}
// Add a target with the canonical name (no prefix, suffix or path).
- this->OutputMakeRule(fout, comment, name, tgt.c_str(), 0);
+ this->OutputMakeRule(fout,
+ comment,
+ name,
+ this->ConvertToRelativeOutputPath(tgt.c_str()).c_str(),
+ 0);
}