From: Roland Schulz Date: Thu, 29 Jan 2015 18:04:52 +0000 (-0500) Subject: Make FindBoost quite X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=fc0c8931ab9bc9abf07fa0f500332996539968ed;p=alexxy%2Fgromacs.git Make FindBoost quite Prevent boost from printing version on each cmake run. Makes it consistent with other Find usage (xml, z, ...) Change-Id: Ic1f99865c68222683b993b13b6e545e66bd7f536 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 89c7354699..eeeb3065be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -472,6 +472,9 @@ endif() # 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)