From 9d717fb9d74aedf35e99dc8be649b9577fd90bcf Mon Sep 17 00:00:00 2001 From: Ling Wang Date: Sun, 23 Feb 2025 00:48:27 +0100 Subject: [PATCH] fix python build: avoid link to opencv_core --- modules/cudev/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cudev/CMakeLists.txt b/modules/cudev/CMakeLists.txt index 45cea0dc0..f6d51a501 100644 --- a/modules/cudev/CMakeLists.txt +++ b/modules/cudev/CMakeLists.txt @@ -17,9 +17,9 @@ if(ENABLE_CUDA_FIRST_CLASS_LANGUAGE) endif() -ocv_add_module(cudev opencv_core ${extra_dependencies} OPTIONAL ${optional_dependencies} WRAP python) +ocv_add_module(cudev ${extra_dependencies} OPTIONAL ${optional_dependencies} WRAP python) -ocv_module_include_directories() +ocv_module_include_directories(opencv_core) ocv_glob_module_sources() ocv_create_module()