Merge pull request #944 from jet47:cmake-2.8.11-cuda-fix

This commit is contained in:
Roman Donchenko 2013-06-03 16:08:06 +04:00 committed by OpenCV Buildbot
commit 5237647f75

View File

@ -42,7 +42,7 @@ if(HAVE_CUDA)
ocv_cuda_compile(cuda_objs ${lib_cuda} ${ncv_cuda})
set(cuda_link_libs ${CUDA_LIBRARIES} ${CUDA_npp_LIBRARY})
set(cuda_link_libs ${CUDA_LIBRARIES} ${CUDA_CUDA_LIBRARY} ${CUDA_npp_LIBRARY})
if(WITH_NVCUVID)
set(cuda_link_libs ${cuda_link_libs} ${CUDA_nvcuvid_LIBRARY})