From 513f7d1869049eecd95338a5f799b5677eca52fa Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 19 Aug 2008 13:48:21 -0400 Subject: BUG: fix for 7496, do not just report configure done when there is an error during configure --- Source/cmGlobalGenerator.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); } } -- cgit v0.12