Repository for OpenCV's extra modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
690 B

OCV_OPTION(WITH_MATLAB "Include Matlab support (opencv_contrib)" OFF IF (NOT ANDROID AND NOT IOS AND NOT WINRT))
ocv_assert(OPENCV_INITIAL_PASS)
if(WITH_MATLAB OR DEFINED MATLAB_FOUND)
ocv_cmake_hook_append(STATUS_DUMP_EXTRA "${CMAKE_CURRENT_LIST_DIR}/hooks/STATUS_DUMP_EXTRA.cmake")
endif()
# --- Matlab/Octave ---
if(WITH_MATLAB AND NOT DEFINED MATLAB_FOUND)
include(${CMAKE_CURRENT_LIST_DIR}/OpenCVFindMatlab.cmake)
if(NOT MATLAB_FOUND)
message(WARNING "Matlab or compiler (mex) was not found. Disabling Matlab bindings...")
ocv_module_disable(matlab)
endif()
endif()
if(NOT OPENCV_DOCS_INCLUDE_MATLAB)
list(APPEND DOXYGEN_BLACKLIST "matlab")
endif()