Blame view

3rdparty/opencv-4.5.4/modules/python/python2/CMakeLists.txt 348 Bytes
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  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)