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

[core][cuda] Move throw_no_cuda to it an independant stub so it is not included in the same file that requires cudart

This commit is contained in:
cudawarped
2025-10-20 12:58:39 +03:00
parent 11422da957
commit ff216e8796
5 changed files with 34 additions and 8 deletions
+4
View File
@@ -11,3 +11,7 @@ endif()
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_flann
OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy opencv_cudaimgproc ${STITCHING_CONTRIB_DEPS}
WRAP python)
if(HAVE_CUDA AND ENABLE_CUDA_FIRST_CLASS_LANGUAGE)
ocv_target_link_libraries(${the_module} PUBLIC "CUDA::cudart${CUDA_LIB_EXT}")
endif()