Merge topic 'cmake-gui-interrupt-error'

52ec845 cmake-gui: Fix error status when interrupted.
This commit is contained in:
Brad King 2012-09-11 15:00:48 -04:00 committed by CMake Topic Stage
commit a2e547cec7
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@ public:
static bool GetErrorOccuredFlag() static bool GetErrorOccuredFlag()
{ {
return cmSystemTools::s_ErrorOccured || return cmSystemTools::s_ErrorOccured ||
cmSystemTools::s_FatalErrorOccured; cmSystemTools::s_FatalErrorOccured ||
GetInterruptFlag();
} }
///! If this is set to true, cmake stops processing commands. ///! If this is set to true, cmake stops processing commands.
static void SetFatalErrorOccured() static void SetFatalErrorOccured()