mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
19 lines
482 B
CMake
19 lines
482 B
CMake
# ----------------------------------------------------------------------------
|
|
# 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)
|
|
ocv_module_disable(python2)
|
|
ocv_module_disable(python3)
|
|
endif()
|
|
|
|
add_subdirectory(python2)
|
|
add_subdirectory(python3)
|