diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-18 15:48:18 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-18 15:48:18 (GMT) |
commit | 6abbc7b1ff4717f42ca374a9ad793e3d25f6956c (patch) | |
tree | 46c3a288dd7aee1b4f8623838cbc8bbc4c5cf50e /Source/cmLocalUnixMakefileGenerator.cxx | |
parent | 6b7257db613d38f56f427fefa988aa8fcd49cf56 (diff) | |
download | CMake-6abbc7b1ff4717f42ca374a9ad793e3d25f6956c.zip CMake-6abbc7b1ff4717f42ca374a9ad793e3d25f6956c.tar.gz CMake-6abbc7b1ff4717f42ca374a9ad793e3d25f6956c.tar.bz2 |
BUG: make sure output path is used for target with canonical name
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 6 |
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); } |