summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-08-19 17:48:21 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-08-19 17:48:21 (GMT)
commit513f7d1869049eecd95338a5f799b5677eca52fa (patch)
tree63eb6c37bdeda2d5082eace425ceafda0a501dc6 /Source/cmGlobalGenerator.cxx
parent1bda46564e7695a405b0c1803c747c1097fced02 (diff)
downloadCMake-513f7d1869049eecd95338a5f799b5677eca52fa.zip
CMake-513f7d1869049eecd95338a5f799b5677eca52fa.tar.gz
CMake-513f7d1869049eecd95338a5f799b5677eca52fa.tar.bz2
BUG: fix for 7496, do not just report configure done when there is an error during configure
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-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);
}
}