File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ if(BUILD_DOCS AND DOXYGEN_FOUND)
37
37
unset (CMAKE_DOXYGEN_TUTORIAL_CONTRIB_ROOT )
38
38
unset (CMAKE_DOXYGEN_TUTORIAL_JS_ROOT )
39
39
40
+ set (OPENCV_MATHJAX_RELPATH "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0" CACHE STRING "URI to a MathJax installation" )
41
+
40
42
# gathering headers
41
43
set (paths_include )
42
44
set (paths_doc )
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ FORMULA_FONTSIZE = 14
174
174
FORMULA_TRANSPARENT = YES
175
175
USE_MATHJAX = YES
176
176
MATHJAX_FORMAT = HTML-CSS
177
- MATHJAX_RELPATH = https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0
177
+ MATHJAX_RELPATH = @OPENCV_MATHJAX_RELPATH@
178
178
MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
179
179
MATHJAX_CODEFILE = @CMAKE_CURRENT_SOURCE_DIR@/mymath.js
180
180
SEARCHENGINE = YES
You can’t perform that action at this time.
0 commit comments