From: David Wells Date: Mon, 21 Oct 2019 18:37:53 +0000 (-0400) Subject: Fix an error check with MathJax. X-Git-Tag: v9.2.0-rc1~938^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8941%2Fhead;p=dealii.git Fix an error check with MathJax. The correct variable name is MATHJAX_PATH and its correct invalid value (i.e., if nothing is found) is MATHJAX_PATH-NOTFOUND. --- diff --git a/doc/doxygen/CMakeLists.txt b/doc/doxygen/CMakeLists.txt index d47b0bab85..915d12892c 100644 --- a/doc/doxygen/CMakeLists.txt +++ b/doc/doxygen/CMakeLists.txt @@ -65,7 +65,7 @@ IF(DEAL_II_DOXYGEN_USE_MATHJAX) "/usr/share/yelp/mathjax" DOC "Root path of MathJax.js" ) - IF(MATHJAX MATCHES "-NOTFOUND") + IF(MATHJAX_PATH MATCHES "MATHJAX_PATH-NOTFOUND") MESSAGE(FATAL_ERROR "MathJax was not found.") ENDIF() ENDIF()