From cf23679d72e539f63c556f54d6ae4f486e990421 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 20 Apr 2006 17:00:43 -0400 Subject: [PATCH] ENH: save the cache on fatal error so that users can set cache values --- Source/cmake.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 09489590d..2c08ae304 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1432,7 +1432,7 @@ int cmake::Configure() this->CacheManager->RemoveCacheEntry("CMAKE_GENERATOR"); } // only save the cache if there were no fatal errors - if ( !this->ScriptMode && !cmSystemTools::GetFatalErrorOccured() ) + if ( !this->ScriptMode ) { this->CacheManager->SaveCache(this->GetHomeOutputDirectory()); }