From a9b729128f1fff72bc4bd1606507ea03b8f11851 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 5 May 2005 10:40:37 -0400 Subject: BUG: If there is a fatal error, stop processing list file --- Source/cmMakefile.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 12c7c80..adce896 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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 -- cgit v0.12