mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 12:10:49 +08:00
7e5c4fe1cd
- unconditional js bindings source code generation - use common name for tests: opencv_test_js
14 lines
366 B
CMake
14 lines
366 B
CMake
# get list of modules to wrap
|
|
if(HAVE_opencv_js)
|
|
message(STATUS "Wrapped in JavaScript(js):")
|
|
endif()
|
|
set(OPENCV_JS_MODULES "")
|
|
foreach(m ${OPENCV_MODULES_BUILD})
|
|
if(";${OPENCV_MODULE_${m}_WRAPPERS};" MATCHES ";js;" AND HAVE_${m})
|
|
list(APPEND OPENCV_JS_MODULES ${m})
|
|
if(HAVE_opencv_js)
|
|
message(STATUS " ${m}")
|
|
endif()
|
|
endif()
|
|
endforeach()
|