Removing static linking of cuda library

pull/15242/head
Vishal Chiluka 6 years ago
parent 0757a51e2b
commit bca49b99ca
  1. 2
      cmake/OpenCVDetectCUDA.cmake

@ -368,7 +368,7 @@ if(HAVE_CUDA)
endif()
endif()
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} ${CUDA_LIBRARIES} ${CUDA_CUDA_LIBRARY} ${CUDA_npp_LIBRARY})
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} ${CUDA_LIBRARIES} ${CUDA_npp_LIBRARY})
if(HAVE_CUBLAS)
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} ${CUDA_cublas_LIBRARY})
endif()

Loading…
Cancel
Save