cmake-gui: Fix error status when interrupted.

Sometimes it wasn't returning an error and one could continue
with the generate generate as if no errors occurred, and even
with an incomplete configure step.
This commit is contained in:
Clinton Stimpson 2012-09-04 08:50:21 -06:00
parent 6ef858b501
commit 52ec845fce
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()