1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

build: first class cuda support

This commit is contained in:
cudawarped
2022-11-29 08:25:26 +02:00
committed by Alexander Smorkalov
parent 8c22b4b54b
commit 7d681cf80d
12 changed files with 895 additions and 515 deletions
+1 -1
View File
@@ -1003,7 +1003,7 @@ macro(_ocv_create_module)
INTERFACE ${OPENCV_MODULE_${the_module}_DEPS_EXT}
)
ocv_target_link_libraries(${the_module} PRIVATE ${OPENCV_LINKER_LIBS} ${OPENCV_HAL_LINKER_LIBS} ${IPP_LIBS} ${ARGN})
if (HAVE_CUDA)
if (NOT ENABLE_CUDA_FIRST_CLASS_LANGUAGE AND HAVE_CUDA)
ocv_target_link_libraries(${the_module} PRIVATE ${CUDA_LIBRARIES} ${CUDA_npp_LIBRARY})
endif()