opencv/modules/python/CMakeLists.txt

19 lines
503 B
CMake
Raw Normal View History

# ----------------------------------------------------------------------------
# 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
)
ocv_module_disable(python2)
ocv_module_disable(python3)
endif()
2013-04-12 17:05:23 +04:00
2015-12-16 17:28:03 +03:00
if(ANDROID OR APPLE_FRAMEWORK OR WINRT)
ocv_module_disable(python2)
ocv_module_disable(python3)
endif()
add_subdirectory(python2)
add_subdirectory(python3)