From 2addae071e28f1e11c99d273ead294facdce9650 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 29 Dec 2025 13:45:19 +0300 Subject: [PATCH] Fixed DLPack detection in Python standalone builds --- modules/python/standalone.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/python/standalone.cmake b/modules/python/standalone.cmake index 1188a02eb9..f138f7b061 100644 --- a/modules/python/standalone.cmake +++ b/modules/python/standalone.cmake @@ -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})")