summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-20 21:00:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-20 21:00:43 (GMT)
commitcf23679d72e539f63c556f54d6ae4f486e990421 (patch)
tree8940a2f00bef4246bcc9b0f54d4b966c18f1b1e5
parent25d4127e2d59d2482e7a1bfa9b56e6892716eab3 (diff)
downloadCMake-cf23679d72e539f63c556f54d6ae4f486e990421.zip
CMake-cf23679d72e539f63c556f54d6ae4f486e990421.tar.gz
CMake-cf23679d72e539f63c556f54d6ae4f486e990421.tar.bz2
ENH: save the cache on fatal error so that users can set cache values
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 0948959..2c08ae3 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());
}