mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #9735 from alalek:fix_docs
doc: fix documentation generation with JavaScript bindings
This commit is contained in:
commit
386f402e0c
@ -183,6 +183,8 @@ if(BUILD_DOCS AND DOXYGEN_FOUND)
|
|||||||
set(ocv_js_dir "${CMAKE_BINARY_DIR}/bin")
|
set(ocv_js_dir "${CMAKE_BINARY_DIR}/bin")
|
||||||
set(ocv_js "opencv.js")
|
set(ocv_js "opencv.js")
|
||||||
list(APPEND js_assets "${ocv_js_dir}/${ocv_js}")
|
list(APPEND js_assets "${ocv_js_dir}/${ocv_js}")
|
||||||
|
elseif(DEFINED OPENCV_JS_LOCATION)
|
||||||
|
list(APPEND js_assets "${OPENCV_JS_LOCATION}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# copy haar cascade files
|
# copy haar cascade files
|
||||||
|
Loading…
Reference in New Issue
Block a user