summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmGlobalGenerator.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index a1f42cf..34f544c 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -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);
}
}