diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 10d96a170..9bc1df0e4 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -1137,7 +1137,7 @@ void cmFindPackageCommand::AddPrefixesBuilds() if(!this->NoBuilds && !this->NoDefaultPath) { // It is likely that CMake will have recently built the project. - for(int i=1; i <= 10; ++i) + for(int i=0; i <= 10; ++i) { cmOStringStream r; r <<