mirror of
https://github.com/opencv/opencv.git
synced 2024-12-15 18:09:11 +08:00
dd7f88bd68
- requires OpenCV source directory - requires OpenCV binary directory with built modules and 'python_bindings_generator' target
16 lines
348 B
CMake
16 lines
348 B
CMake
if(NOT PYTHON2_INCLUDE_PATH OR NOT PYTHON2_NUMPY_INCLUDE_DIRS)
|
|
ocv_module_disable(python2)
|
|
endif()
|
|
|
|
set(the_description "The python2 bindings")
|
|
set(MODULE_NAME python2)
|
|
# Buildbot requires Python 2 to be in root lib dir
|
|
set(MODULE_INSTALL_SUBDIR "")
|
|
|
|
set(PYTHON PYTHON2)
|
|
|
|
include(../common.cmake)
|
|
|
|
unset(MODULE_NAME)
|
|
unset(MODULE_INSTALL_SUBDIR)
|