Fixed DLPack detection in Python standalone builds

This commit is contained in:
Alexander Smorkalov
2025-12-29 13:45:19 +03:00
parent 40ab411032
commit 2addae071e

View File

@@ -29,6 +29,8 @@ if(NOT PYTHON_NUMPY_INCLUDE_DIRS)
message(FATAL_ERROR "Can't find Python 'numpy' development files")
endif()
include("${OpenCV_SOURCE_DIR}/cmake/OpenCVDetectDLPack.cmake")
status("-----------------------------------------------------------------")
status(" Python:")
status(" Interpreter:" "${PYTHON_EXECUTABLE} (ver ${PYTHON_VERSION_STRING})")