Add haar cascade files as js_assets

This commit is contained in:
Ningxin Hu 2017-09-26 13:00:36 +08:00
parent 89b6e68e1e
commit f57106b00a

View File

@ -189,6 +189,7 @@ if(BUILD_DOCS AND DOXYGEN_FOUND)
set(haar_cascade_files "")
set(data_harrcascades_path "${OpenCV_SOURCE_DIR}/data/haarcascades/")
list(APPEND js_tutorials_assets_deps "${data_harrcascades_path}/haarcascade_frontalface_default.xml" "${data_harrcascades_path}/haarcascade_eye.xml")
list(APPEND js_assets "${data_harrcascades_path}/haarcascade_frontalface_default.xml" "${data_harrcascades_path}/haarcascade_eye.xml")
foreach(f ${js_assets})
get_filename_component(fname "${f}" NAME)