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