common.cmake 366 B

12345678910111213
  1. # get list of modules to wrap
  2. if(HAVE_opencv_js)
  3. message(STATUS "Wrapped in JavaScript(js):")
  4. endif()
  5. set(OPENCV_JS_MODULES "")
  6. foreach(m ${OPENCV_MODULES_BUILD})
  7. if(";${OPENCV_MODULE_${m}_WRAPPERS};" MATCHES ";js;" AND HAVE_${m})
  8. list(APPEND OPENCV_JS_MODULES ${m})
  9. if(HAVE_opencv_js)
  10. message(STATUS " ${m}")
  11. endif()
  12. endif()
  13. endforeach()