Commit 6abbc7b1 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

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

parent 6b7257db
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment