ENH: fix seg fault in ccmake when hitting configure twice
This commit is contained in:
parent
04448b9e03
commit
32aecc84a1
@ -623,9 +623,11 @@ void cmGlobalGenerator::Configure()
|
|||||||
delete this->LocalGenerators[i];
|
delete this->LocalGenerators[i];
|
||||||
}
|
}
|
||||||
this->LocalGenerators.clear();
|
this->LocalGenerators.clear();
|
||||||
|
this->TargetDependencies.clear();
|
||||||
this->TotalTargets.clear();
|
this->TotalTargets.clear();
|
||||||
|
this->ProjectToTargetMap.clear();
|
||||||
|
this->ProjectMap.clear();
|
||||||
|
|
||||||
// start with this directory
|
// start with this directory
|
||||||
cmLocalGenerator *lg = this->CreateLocalGenerator();
|
cmLocalGenerator *lg = this->CreateLocalGenerator();
|
||||||
this->LocalGenerators.push_back(lg);
|
this->LocalGenerators.push_back(lg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user