diff options
Diffstat (limited to 'Source/CPack/cmCPackLog.cxx')
-rw-r--r-- | Source/CPack/cmCPackLog.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackLog.cxx b/Source/CPack/cmCPackLog.cxx index 7b58039..82b990d 100644 --- a/Source/CPack/cmCPackLog.cxx +++ b/Source/CPack/cmCPackLog.cxx @@ -18,6 +18,7 @@ #include "cmCPackLog.h" #include "cmGeneratedFileStream.h" +#include "cmSystemTools.h" //---------------------------------------------------------------------- cmCPackLog::cmCPackLog() @@ -221,4 +222,9 @@ void cmCPackLog::Log(int tag, const char* file, int line, { this->NewLine = true; } + + if ( error ) + { + cmSystemTools::SetErrorOccured(); + } } |