mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
ENH: fix seg fault in ccmake when hitting configure twice
This commit is contained in:
@@ -623,9 +623,11 @@ void cmGlobalGenerator::Configure()
|
||||
delete this->LocalGenerators[i];
|
||||
}
|
||||
this->LocalGenerators.clear();
|
||||
|
||||
this->TargetDependencies.clear();
|
||||
this->TotalTargets.clear();
|
||||
|
||||
this->ProjectToTargetMap.clear();
|
||||
this->ProjectMap.clear();
|
||||
|
||||
// start with this directory
|
||||
cmLocalGenerator *lg = this->CreateLocalGenerator();
|
||||
this->LocalGenerators.push_back(lg);
|
||||
|
||||
Reference in New Issue
Block a user