BUG: make sure output path is used for target with canonical name

This commit is contained in:
Bill Hoffman 2004-10-18 11:48:18 -04:00
parent 6b7257db61
commit 6abbc7b1ff
1 changed files with 5 additions and 1 deletions

View File

@ -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);
}