opencv/modules/python/CMakeLists.txt
Vladislav Vinogradov cdb7b83741 fix python module compilation with enabled CUDA support:
filterout all CUDA related headers from python module include headers
2014-08-04 12:12:51 +04:00

17 lines
449 B
CMake

# ----------------------------------------------------------------------------
# CMake file for python support
# ----------------------------------------------------------------------------
if(WIN32 AND CMAKE_BUILD_TYPE STREQUAL "Debug")
ocv_module_disable(python2)
ocv_module_disable(python3)
endif()
if(ANDROID OR IOS)
ocv_module_disable(python2)
ocv_module_disable(python3)
endif()
add_subdirectory(python2)
add_subdirectory(python3)