Commit 013581f3 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

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
parent e9c298b7
......@@ -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})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment