Skip to content

Commit 9d717fb

Browse files
committed
fix python build: avoid link to opencv_core
1 parent 0228cfa commit 9d717fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/cudev/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ if(ENABLE_CUDA_FIRST_CLASS_LANGUAGE)
1717

1818
endif()
1919

20-
ocv_add_module(cudev opencv_core ${extra_dependencies} OPTIONAL ${optional_dependencies} WRAP python)
20+
ocv_add_module(cudev ${extra_dependencies} OPTIONAL ${optional_dependencies} WRAP python)
2121

22-
ocv_module_include_directories()
22+
ocv_module_include_directories(opencv_core)
2323
ocv_glob_module_sources()
2424
ocv_create_module()
2525

0 commit comments

Comments
 (0)