From 6abbc7b1ff4717f42ca374a9ad793e3d25f6956c Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 18 Oct 2004 11:48:18 -0400 Subject: [PATCH] BUG: make sure output path is used for target with canonical name --- Source/cmLocalUnixMakefileGenerator.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 251791281..53ab42551 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); }