Skip to content

Commit 9efb249

Browse files
committed
doc: fix documentation generation with JavaScript bindings
1 parent 55b7073 commit 9efb249

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)