1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-01 15:53:03 +00:00

Add new building option ENABLE_EXTERNAL_MATHJAX, set to ON by default.

If set to ON, it generates HTML documentation using MathJax from an external CDN when doing 'make doc'. If set to OFF, MathJax is still looked for in the system and used if found, so it can be used offline. If not found, it is not used.
This commit is contained in:
Carles Fernandez
2020-10-30 12:24:23 +01:00
parent 952c6d5d9e
commit 185a267f9b
3 changed files with 18 additions and 15 deletions

View File

@@ -28,15 +28,6 @@
# - MATHJAX2_PATH - Path to the MathJax root directory
if(CMAKE_VERSION VERSION_LESS 3.11)
if(__INCLUDED_MATHJAX2)
return()
endif()
set(__INCLUDED_MATHJAX2 TRUE)
else()
include_guard()
endif()
if(DEFINED MATHJAX2_USE_ROOT)
set(MATHJAX2_FOUND TRUE)
set(MATHJAX2_PATH "${MATHJAX2_USE_ROOT}/")