2016-07-07 00:53:32 +08:00
|
|
|
if(NOT PYTHON2_INCLUDE_PATH OR NOT PYTHON2_NUMPY_INCLUDE_DIRS)
|
2014-06-30 04:45:24 +08:00
|
|
|
ocv_module_disable(python2)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(the_description "The python2 bindings")
|
2014-07-31 13:11:30 +08:00
|
|
|
set(MODULE_NAME python2)
|
2014-08-07 12:21:42 +08:00
|
|
|
# Buildbot requires Python 2 to be in root lib dir
|
|
|
|
set(MODULE_INSTALL_SUBDIR "")
|
2014-06-30 04:45:24 +08:00
|
|
|
|
2016-07-07 00:53:32 +08:00
|
|
|
set(PYTHON PYTHON2)
|
2014-06-30 04:45:24 +08:00
|
|
|
|
|
|
|
include(../common.cmake)
|
|
|
|
|
2014-07-31 13:11:30 +08:00
|
|
|
unset(MODULE_NAME)
|
2014-08-07 12:21:42 +08:00
|
|
|
unset(MODULE_INSTALL_SUBDIR)
|