]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix an error check with MathJax. 8941/head
authorDavid Wells <drwells@email.unc.edu>
Mon, 21 Oct 2019 18:37:53 +0000 (14:37 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 21 Oct 2019 18:37:53 +0000 (14:37 -0400)
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

index d47b0bab85d0b3976865604af4aa31c38f62ed5f..915d12892c6aea507c2ae0f03a469024117a1e61 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.