mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 05:50:42 +00:00
ENH: save the cache on fatal error so that users can set cache values
This commit is contained in:
parent
25d4127e2d
commit
cf23679d72
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user