diff options
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 749b2e8..e404168 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -155,6 +155,12 @@ public: { return cmSystemTools::s_ErrorOccured; } + + ///! Set the error occured flag back to false + static void ResetErrorOccuredFlag() + { + cmSystemTools::s_ErrorOccured = false; + } /** * Copy the source file to the destination file only |