GHS: Remove call to SetCurrentLocalGenerator.
It is not needed as cmLocalGenerator::Configure does this.
This commit is contained in:
parent
a4d230af7d
commit
f69dcdfc38
|
@ -35,9 +35,7 @@ cmGlobalGhsMultiGenerator::~cmGlobalGhsMultiGenerator()
|
|||
cmLocalGenerator *
|
||||
cmGlobalGhsMultiGenerator::CreateLocalGenerator(cmLocalGenerator* parent)
|
||||
{
|
||||
cmLocalGenerator *lg = new cmLocalGhsMultiGenerator(this, parent);
|
||||
this->SetCurrentLocalGenerator(lg);
|
||||
return lg;
|
||||
return new cmLocalGhsMultiGenerator(this, parent);
|
||||
}
|
||||
|
||||
void cmGlobalGhsMultiGenerator::GetDocumentation(cmDocumentationEntry &entry)
|
||||
|
|
Loading…
Reference in New Issue