summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-05 14:40:37 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-05 14:40:37 (GMT)
commita9b729128f1fff72bc4bd1606507ea03b8f11851 (patch)
treec7a6a3a37c97179b0af583b5ed4d5ff170b31061 /Source
parent1c6f9716c390f6039c563afb9280c8499710154d (diff)
downloadCMake-a9b729128f1fff72bc4bd1606507ea03b8f11851.zip
CMake-a9b729128f1fff72bc4bd1606507ea03b8f11851.tar.gz
CMake-a9b729128f1fff72bc4bd1606507ea03b8f11851.tar.bz2
BUG: If there is a fatal error, stop processing list file
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 4 insertions, 0 deletions
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