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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user