doc: fix documentation generation with JavaScript bindings

pull/9735/head
Alexander Alekhin 8 years ago
parent 55b7073aae
commit 9efb24943e
  1. 2
      doc/CMakeLists.txt

@ -183,6 +183,8 @@ if(BUILD_DOCS AND DOXYGEN_FOUND)
set(ocv_js_dir "${CMAKE_BINARY_DIR}/bin")
set(ocv_js "opencv.js")
list(APPEND js_assets "${ocv_js_dir}/${ocv_js}")
elseif(DEFINED OPENCV_JS_LOCATION)
list(APPEND js_assets "${OPENCV_JS_LOCATION}")
endif()
# copy haar cascade files

Loading…
Cancel
Save