Commit 513f7d18 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: fix for 7496, do not just report configure done when there is an error during configure

parent 1bda4656
......@@ -764,7 +764,12 @@ void cmGlobalGenerator::Configure()
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);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment