Prevent boost from printing version on each cmake run. Makes
it consistent with other Find usage (xml, z, ...)
Change-Id: Ic1f99865c68222683b993b13b6e545e66bd7f536
# Detect boost unless GMX_EXTERNAL_BOOST is explicitly OFF
# Used for default if GMX_EXTERNAL_BOOST is not defined (first CMake pass)
if(NOT DEFINED GMX_EXTERNAL_BOOST OR GMX_EXTERNAL_BOOST)
+ if(DEFINED Boost_INCLUDE_DIR)
+ set(Boost_FIND_QUIETLY TRUE)
+ endif()
find_package(Boost 1.44.0)
if(Boost_FOUND AND Boost_VERSION VERSION_LESS "104400")
set(Boost_FOUND FALSE)