2012-02-03 19:26:49 +08:00
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
# CMake file for python support
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
2014-08-01 22:11:20 +08:00
|
|
|
if((WIN32 AND CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
|
OR BUILD_opencv_world
|
|
|
|
)
|
2014-06-30 04:45:24 +08:00
|
|
|
ocv_module_disable(python2)
|
|
|
|
ocv_module_disable(python3)
|
2012-01-03 21:48:12 +08:00
|
|
|
endif()
|
2013-04-12 21:05:23 +08:00
|
|
|
|
2014-06-30 04:45:24 +08:00
|
|
|
if(ANDROID OR IOS)
|
|
|
|
ocv_module_disable(python2)
|
|
|
|
ocv_module_disable(python3)
|
2012-01-25 17:04:49 +08:00
|
|
|
endif()
|
2012-01-03 21:48:12 +08:00
|
|
|
|
2014-06-30 04:45:24 +08:00
|
|
|
add_subdirectory(python2)
|
|
|
|
add_subdirectory(python3)
|