From: Vladislav Vinogradov Date: Mon, 3 Jun 2013 09:24:57 +0000 (+0400) Subject: fixed GPU module compialtion with CMake 2.8.11 X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~1276^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=013581f3717da193342a9c31c3f62b493907d036;p=platform%2Fupstream%2Fopencv.git 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 --- diff --git a/modules/gpu/CMakeLists.txt b/modules/gpu/CMakeLists.txt index 5509226..87c172d 100644 --- a/modules/gpu/CMakeLists.txt +++ b/modules/gpu/CMakeLists.txt @@ -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})