mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
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.
18 lines
491 B
18 lines
491 B
# ---------------------------------------------------------------------------- |
|
# 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)
|
|
|