fixed GPU module compialtion with CMake 2.8.11

CMake 2.8.11 removed linkage with CUDA driver library,
but it's used by gpu video encoding/decoding
This commit is contained in:
Vladislav Vinogradov 2013-06-03 13:24:57 +04:00
parent e9c298b784
commit 013581f371

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})