summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2004-03-17 14:42:32 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2004-03-17 14:42:32 (GMT)
commitec3a119480de133849b28b6c98f9953793fb92cc (patch)
treeb297f90e669c4d02f772a8455b8d13da17f29010 /Source/cmSystemTools.h
parent6b5624593288dfbcf1e53dd9f9ac96c06996e62d (diff)
downloadCMake-ec3a119480de133849b28b6c98f9953793fb92cc.zip
CMake-ec3a119480de133849b28b6c98f9953793fb92cc.tar.gz
CMake-ec3a119480de133849b28b6c98f9953793fb92cc.tar.bz2
BUG: When error occurs, try compiles should still work
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index f5ee0fe..2862406 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -98,6 +98,10 @@ public:
{
cmSystemTools::s_FatalErrorOccured = true;
}
+ static void SetErrorOccured()
+ {
+ cmSystemTools::s_ErrorOccured = true;
+ }
///! Return true if there was an error at any point.
static bool GetFatalErrorOccured()
{