Home | History | Annotate | Download | only in python3
      1 if(NOT PYTHON3LIBS_FOUND OR NOT PYTHON3_NUMPY_INCLUDE_DIRS)
      2   ocv_module_disable(python3)
      3 endif()
      4 
      5 set(the_description "The python3 bindings")
      6 set(MODULE_NAME python3)
      7 set(MODULE_INSTALL_SUBDIR python3)
      8 
      9 set(PYTHON_INCLUDE_PATH ${PYTHON3_INCLUDE_PATH})
     10 set(PYTHON_NUMPY_INCLUDE_DIRS ${PYTHON3_NUMPY_INCLUDE_DIRS})
     11 set(PYTHON_EXECUTABLE ${PYTHON3_EXECUTABLE})
     12 set(PYTHON_DEBUG_LIBRARIES ${PYTHON3_DEBUG_LIBRARIES})
     13 set(PYTHON_LIBRARIES ${PYTHON3_LIBRARIES})
     14 set(PYTHON_PACKAGES_PATH ${PYTHON3_PACKAGES_PATH})
     15 set(PYTHON_VERSION_MAJOR ${PYTHON3_VERSION_MAJOR})
     16 set(PYTHON_VERSION_MINOR ${PYTHON3_VERSION_MINOR})
     17 
     18 include(../common.cmake)
     19 
     20 unset(MODULE_NAME)
     21 unset(MODULE_INSTALL_SUBDIR)
     22 unset(PYTHON_INCLUDE_PATH)
     23 unset(PYTHON_NUMPY_INCLUDE_DIRS)
     24 unset(PYTHON_EXECUTABLE)
     25 unset(PYTHON_DEBUG_LIBRARIES)
     26 unset(PYTHON_LIBRARIES)
     27 unset(PYTHON_PACKAGES_PATH)
     28 unset(PYTHON_VERSION_MAJOR)
     29 unset(PYTHON_VERSION_MINOR)
     30