BUG: make sure output path is used for target with canonical name
This commit is contained in:
parent
6b7257db61
commit
6abbc7b1ff
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue