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:
parent
6ef858b501
commit
52ec845fce
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue