From: Mark Abraham Date: Sat, 22 Mar 2014 17:21:15 +0000 (+0100) Subject: Keep CMake quiet about non-detection of optional stuff X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=ef197fafb58ae2aa357523e15b955acbdd288342;p=alexxy%2Fgromacs.git Keep CMake quiet about non-detection of optional stuff Repeated calls to cmake would otherwise warn every time that these optional things were not detected. That lack is only rarely a problem that needs solving, so they should not be emitting status messages all the time. Change-Id: Iad6f0bdf72ba7848bcc819db6937b70b37900148 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index df522432c0..e2f4da2c18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -804,7 +804,7 @@ else() endif() if(GMX_USE_TNG) - find_package(ZLIB) + find_package(ZLIB QUIET) include(gmxTestZLib) gmx_test_zlib(HAVE_ZLIB) set(TNG_BUILD_WITH_ZLIB ${HAVE_ZLIB} CACHE BOOL "Build TNG with zlib compression") diff --git a/cmake/FindFFTW.cmake b/cmake/FindFFTW.cmake index e7af8a22c5..09343ebc5c 100644 --- a/cmake/FindFFTW.cmake +++ b/cmake/FindFFTW.cmake @@ -60,7 +60,7 @@ else() message(FATAL_ERROR "We do not support finding ${FFTW_FIND_COMPONENTS}, go and implement it ;-)") endif() -find_package(PkgConfig) +find_package(PkgConfig QUIET) if(NOT __pkg_config_checked_PC_${FFTW} OR NOT ${FFTW}_LIBRARY) pkg_check_modules(PC_${FFTW} "${${FFTW}_PKG}") if(NOT PC_${FFTW}_FOUND) diff --git a/cmake/FindGSL.cmake b/cmake/FindGSL.cmake index 2ab1d6c4a6..26440eb647 100644 --- a/cmake/FindGSL.cmake +++ b/cmake/FindGSL.cmake @@ -1,8 +1,8 @@ # # This file is part of the GROMACS molecular simulation package. # -# Copyright (c) 2009-2011, by the VOTCA Development Team (http://www.votca.org) -# Copyright (c) 2012,2013, by the GROMACS development team, led by +# Copyright (c) 2009-2011, by the VOTCA Development Team (http://www.votca.org). +# Copyright (c) 2012,2013,2014, by the GROMACS development team, led by # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, # and including many others, as listed in the AUTHORS file in the # top-level source directory and at http://www.gromacs.org. @@ -41,7 +41,7 @@ # GSL_FOUND - True if gsl found. # -find_package(PkgConfig) +find_package(PkgConfig QUIET) pkg_check_modules(PC_GSL gsl) find_path(GSL_INCLUDE_DIR gsl/gsl_linalg.h HINTS ${PC_GSL_INCLUDE_DIRS}) diff --git a/doxygen/CMakeLists.txt b/doxygen/CMakeLists.txt index 632f64bbb6..cf395c3a42 100644 --- a/doxygen/CMakeLists.txt +++ b/doxygen/CMakeLists.txt @@ -34,7 +34,7 @@ include(gmxOptionUtilities) -find_package(Doxygen) +find_package(Doxygen QUIET) if (DOXYGEN_FOUND) # This logic closely follows that found in FindDoxygen.cmake for dot, # except that the PATH variable is not cached.