Browse Source

ENH: make sure numAttempts is incremented

Bill Hoffman 17 years ago
parent
commit
69a961a6ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmCoreTryCompile.cxx

+ 1 - 0
Source/cmCoreTryCompile.cxx

@@ -371,6 +371,7 @@ void cmCoreTryCompile::CleanupFiles(const char* binDir)
                 {
                 {
                 removed = true;
                 removed = true;
                 }
                 }
+              numAttempts++;
               }
               }
             if(!removed)
             if(!removed)
               {
               {