cmGlobalGenerator: Port configure-time code to cmMakefile.
This commit is contained in:
parent
3dd6f0a5bc
commit
204aecdf82
@ -2821,9 +2821,9 @@ cmGlobalGenerator::AddRuleHash(const std::vector<std::string>& outputs,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Shorten the output name (in expected use case).
|
// Shorten the output name (in expected use case).
|
||||||
cmLocalGenerator* lg = this->GetLocalGenerators()[0];
|
cmOutputConverter converter(this->GetMakefiles()[0]->GetStateSnapshot());
|
||||||
std::string fname = lg->Convert(outputs[0],
|
std::string fname = converter.Convert(
|
||||||
cmLocalGenerator::HOME_OUTPUT);
|
outputs[0], cmLocalGenerator::HOME_OUTPUT);
|
||||||
|
|
||||||
// Associate the hash with this output.
|
// Associate the hash with this output.
|
||||||
this->RuleHashes[fname] = hash;
|
this->RuleHashes[fname] = hash;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user