diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
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()); } |