summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-26 17:50:23 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-26 17:50:23 (GMT)
commit69a961a6bad28898c3ad3c397fdc84ba3496804d (patch)
tree5cee1259068c5ce1c947a2f88ab22e7c3956160c /Source
parent3827991e87422aaa47cda3d9af0899e777b85ec0 (diff)
downloadCMake-69a961a6bad28898c3ad3c397fdc84ba3496804d.zip
CMake-69a961a6bad28898c3ad3c397fdc84ba3496804d.tar.gz
CMake-69a961a6bad28898c3ad3c397fdc84ba3496804d.tar.bz2
ENH: make sure numAttempts is incremented
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCoreTryCompile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 7ac06d8..457f31f 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -371,6 +371,7 @@ void cmCoreTryCompile::CleanupFiles(const char* binDir)
{
removed = true;
}
+ numAttempts++;
}
if(!removed)
{