Skip to content

Commit 386f402

Browse files
authored
Merge pull request opencv#9735 from alalek:fix_docs
doc: fix documentation generation with JavaScript bindings
2 parents 55b7073 + 9efb249 commit 386f402

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ if(BUILD_DOCS AND DOXYGEN_FOUND)
183183
set(ocv_js_dir "${CMAKE_BINARY_DIR}/bin")
184184
set(ocv_js "opencv.js")
185185
list(APPEND js_assets "${ocv_js_dir}/${ocv_js}")
186+
elseif(DEFINED OPENCV_JS_LOCATION)
187+
list(APPEND js_assets "${OPENCV_JS_LOCATION}")
186188
endif()
187189

188190
# copy haar cascade files

0 commit comments

Comments
 (0)