From 32aecc84a1f469d257600ec2ee241c05507d3498 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 24 Apr 2007 12:30:25 -0400 Subject: ENH: fix seg fault in ccmake when hitting configure twice --- Source/cmGlobalGenerator.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 0d9cad3..a0e66d3 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -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); -- cgit v0.12