From c09e471c4cc51d8fe0e676c8a05aad879ab9fc9c Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 21 Oct 2019 14:37:53 -0400 Subject: [PATCH] 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. --- doc/doxygen/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5