From: Alexey Spizhevoy Date: Fri, 21 Jan 2011 12:57:40 +0000 (+0000) Subject: fixed FindNPP.cmake Apple-aimed part X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~7851 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=055c22639268db6c59377fe64d1590d6adbacad1;p=platform%2Fupstream%2Fopencv.git fixed FindNPP.cmake Apple-aimed part --- diff --git a/modules/gpu/FindNPP.cmake b/modules/gpu/FindNPP.cmake index 9863ddc..82fa37e 100644 --- a/modules/gpu/FindNPP.cmake +++ b/modules/gpu/FindNPP.cmake @@ -115,7 +115,7 @@ if(APPLE) # We need to add the path to cudart to the linker using rpath, since the library name for the cuda libraries is prepended with @rpath. get_filename_component(_cuda_path_to_npp "${CUDA_NPP_LIBRARIES}" PATH) if(_cuda_path_to_npp) - list(APPEND CUDA_NPP_LIBRARIES -Wl,-rpath "-Wl,${_cuda_path_to_npp}") + list(APPEND CUDA_NPP_LIBRARIES "-Wl,-rpath,${_cuda_path_to_npp}") endif() endif()