Keep CMake quiet about non-detection of optional stuff
authorMark Abraham <mark.j.abraham@gmail.com>
Sat, 22 Mar 2014 17:21:15 +0000 (18:21 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 23 Mar 2014 22:50:28 +0000 (23:50 +0100)
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

CMakeLists.txt
cmake/FindFFTW.cmake
cmake/FindGSL.cmake
doxygen/CMakeLists.txt

index df522432c0cb548b2516807d4fd777b64a7c8aa9..e2f4da2c1881f8990fc8d792b7a585da33c803e9 100644 (file)
@@ -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")
index e7af8a22c5a3672da63041448e5a0592a87a6ed9..09343ebc5c964ed1022b955e5e62c39e99139688 100644 (file)
@@ -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)
index 2ab1d6c4a61461ac77ca36a3fa68330f24cd7bd6..26440eb64772593dbb96687ab2dc0c4a45b7749a 100644 (file)
@@ -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})
index 632f64bbb651f5046fe56fa080b6dd09d2ff6729..cf395c3a42092e9f60afa41137bc5ba43ac2e4e8 100644 (file)
@@ -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.