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