summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
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()
{