Find modules shouldn't print tool errors to the cmake output.
These errors can be confusing because it is unclear whether
the error text applies to cmake or something else. Those
errors should go to log files. In this case logging doesn't
seem necessary. We didn't report the error until
b277931fcf4bc. And that commit claims to just fix a bug and
not increase verbosity. Therefore it was likely an
accidental change.
#
# This file is part of the GROMACS molecular simulation package.
#
#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2015,2018,2019, by the GROMACS development team, led by
+# Copyright (c) 2015,2018,2019,2020, 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.
# 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.
set(SPHINX_EXECUTABLE_VERSION ${_version} CACHE INTERNAL "Version of ${SPHINX_EXECUTABLE}")
endif()
set(SPHINX_EXECUTABLE_VERSION ${_version} CACHE INTERNAL "Version of ${SPHINX_EXECUTABLE}")
endif()
-set(_find_deps_options)
-if (Sphinx_FIND_QUIETLY)
- set(_find_deps_options ERROR_QUIET)
-endif()
if (NOT Sphinx_pygments_FOUND)
# Check if pygments module is available via the Unix error code (ie. 0
if (NOT Sphinx_pygments_FOUND)
# Check if pygments module is available via the Unix error code (ie. 0
execute_process(COMMAND "${PYTHON_EXECUTABLE}" "-c"
"import pygments"
RESULT_VARIABLE _pygments_status
execute_process(COMMAND "${PYTHON_EXECUTABLE}" "-c"
"import pygments"
RESULT_VARIABLE _pygments_status
)
if (_pygments_status EQUAL 0)
set(Sphinx_pygments_FOUND TRUE CACHE BOOL "Whether pygments module is available for Sphinx")
)
if (_pygments_status EQUAL 0)
set(Sphinx_pygments_FOUND TRUE CACHE BOOL "Whether pygments module is available for Sphinx")