opencv/modules/python/CMakeLists.txt

19 lines
503 B
CMake
Raw Normal View History

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