When specifying a minimum version for boost if cmake finds an older version of boost it correctly errors when using find_package(Boost REQUIRED). Subsequent runs of cmake run without error as the variables that were set to the older version of boost are still in the cache and thus FindBoost skips over the error. The FindBoost script should either unset the cache variables on error so they aren't used incorrectly or check on each invocation that the boost version is sufficient.
James
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake