BUG: If there is a fatal error, stop processing list file

This commit is contained in:
Andy Cedilnik 2005-05-05 10:40:37 -04:00
parent 1c6f9716c3
commit a9b729128f
1 changed files with 4 additions and 0 deletions

View File

@ -389,6 +389,10 @@ bool cmMakefile::ReadListFile(const char* filename_in, const char *external_in)
for(size_t i =0; i < numberFunctions; ++i)
{
this->ExecuteCommand(lf->m_Functions[i]);
if ( cmSystemTools::GetFatalErrorOccured() )
{
return false;
}
}
// send scope ended to and function blockers