CMakeLists.txt 348 B

123456789101112131415
  1. if(NOT PYTHON2_INCLUDE_PATH OR NOT PYTHON2_NUMPY_INCLUDE_DIRS)
  2. ocv_module_disable(python2)
  3. endif()
  4. set(the_description "The python2 bindings")
  5. set(MODULE_NAME python2)
  6. # Buildbot requires Python 2 to be in root lib dir
  7. set(MODULE_INSTALL_SUBDIR "")
  8. set(PYTHON PYTHON2)
  9. include(../common.cmake)
  10. unset(MODULE_NAME)
  11. unset(MODULE_INSTALL_SUBDIR)