BUG: not all displayed messages are errors
This commit is contained in:
parent
b2085d7e9d
commit
e58632aed3
|
@ -518,8 +518,13 @@ void cmCursesMainForm::RunCMake(bool generateMakefiles)
|
|||
// run the generate process
|
||||
m_OkToGenerate = true;
|
||||
if(make.Generate(m_Args, generateMakefiles) != 0 || !m_Errors.empty())
|
||||
{
|
||||
// see if there was an error
|
||||
if(cmSystemTools::GetErrorOccuredFlag())
|
||||
{
|
||||
m_OkToGenerate = false;
|
||||
}
|
||||
// reset error condition
|
||||
cmSystemTools::ResetErrorOccuredFlag();
|
||||
int x,y;
|
||||
getmaxyx(stdscr, y, x);
|
||||
|
|
Loading…
Reference in New Issue