OpenCV3.4.1+opencv_contrib编译过程中CMAKE提示错误怎么解决

OpenCV3.4.1+opencv_contrib编译过程中CMAKE提示错误怎么解决

CMake Warning at D:/application/vs/opencv/opencv_contrib-3.4.1/modules/matlab/CMakeLists.txt:33 (message):
A required dependency of the matlab module (Python) was not found.
Disabling Matlab bindings...

OpenCV3.4.1+opencv_contrib编译过程中CMAKE提示错误怎么解决

CMakeLists.txt中对应部分

if(APPLE_FRAMEWORK OR ANDROID OR NOT MATLAB_FOUND)
    ocv_module_disable(matlab)
elseif(NOT PYTHON_DEFAULT_AVAILABLE)
    message(WARNING "A required dependency of the matlab module (Python) was not found. Disabling Matlab bindings...")
    ocv_module_disable(matlab)
endif()
OpenCV3.4.1+opencv_contrib编译过程中CMAKE提示错误怎么解决