2012-02-03 11:26:49 +00:00
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
# CMake file for python support
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
2014-08-01 18:11:20 +04:00
|
|
|
if((WIN32 AND CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
|
OR BUILD_opencv_world
|
|
|
|
)
|
2014-06-29 16:45:24 -04:00
|
|
|
ocv_module_disable(python2)
|
|
|
|
ocv_module_disable(python3)
|
2012-01-03 13:48:12 +00:00
|
|
|
endif()
|
2013-04-12 17:05:23 +04:00
|
|
|
|
2015-12-16 17:28:03 +03:00
|
|
|
if(ANDROID OR APPLE_FRAMEWORK OR WINRT)
|
2014-06-29 16:45:24 -04:00
|
|
|
ocv_module_disable(python2)
|
|
|
|
ocv_module_disable(python3)
|
2012-01-25 09:04:49 +00:00
|
|
|
endif()
|
2012-01-03 13:48:12 +00:00
|
|
|
|
2014-06-29 16:45:24 -04:00
|
|
|
add_subdirectory(python2)
|
|
|
|
add_subdirectory(python3)
|