opencv/modules/python/CMakeLists.txt

19 lines
482 B
CMake
Raw Normal View History

# ----------------------------------------------------------------------------
# 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
)
ocv_module_disable(python2)
ocv_module_disable(python3)
endif()
2013-04-12 21:05:23 +08:00
if(ANDROID OR IOS)
ocv_module_disable(python2)
ocv_module_disable(python3)
endif()
add_subdirectory(python2)
add_subdirectory(python3)