blob: 37673da345e45b49864e37a7a45b02fd870de628 [file] [log] [blame] [edit]
# ----------------------------------------------------------------------------
# CMake file for python support
# ----------------------------------------------------------------------------
if((WIN32 AND CMAKE_BUILD_TYPE STREQUAL "Debug")
OR BUILD_opencv_world
)
ocv_module_disable(python2)
ocv_module_disable(python3)
endif()
if(ANDROID OR IOS OR WINRT)
ocv_module_disable(python2)
ocv_module_disable(python3)
endif()
add_subdirectory(python2)
add_subdirectory(python3)