BUG: If there is a fatal error, stop processing list file
This commit is contained in:
parent
1c6f9716c3
commit
a9b729128f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue