BUG: fix for 7496, do not just report configure done when there is an error during configure
This commit is contained in:
parent
1bda46564e
commit
513f7d1869
|
@ -764,7 +764,12 @@ void cmGlobalGenerator::Configure()
|
||||||
|
|
||||||
if ( !this->CMakeInstance->GetScriptMode() )
|
if ( !this->CMakeInstance->GetScriptMode() )
|
||||||
{
|
{
|
||||||
this->CMakeInstance->UpdateProgress("Configuring done", -1);
|
const char* msg = "Configuring done";
|
||||||
|
if(cmSystemTools::GetErrorOccuredFlag())
|
||||||
|
{
|
||||||
|
msg = "Configuring incomplete, errors occurred!";
|
||||||
|
}
|
||||||
|
this->CMakeInstance->UpdateProgress(msg, -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue