projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e51b902
)
fixed FindNPP.cmake Apple-aimed part
author
Alexey Spizhevoy
<no@email>
Fri, 21 Jan 2011 12:57:40 +0000
(12:57 +0000)
committer
Alexey Spizhevoy
<no@email>
Fri, 21 Jan 2011 12:57:40 +0000
(12:57 +0000)
modules/gpu/FindNPP.cmake
patch
|
blob
|
history
diff --git
a/modules/gpu/FindNPP.cmake
b/modules/gpu/FindNPP.cmake
index
9863ddc
..
82fa37e
100644
(file)
--- 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.
\r
get_filename_component(_cuda_path_to_npp "${CUDA_NPP_LIBRARIES}" PATH)
\r
if(_cuda_path_to_npp)
\r
- list(APPEND CUDA_NPP_LIBRARIES
-Wl,-rpath "-Wl
,${_cuda_path_to_npp}")
\r
+ list(APPEND CUDA_NPP_LIBRARIES
"-Wl,-rpath
,${_cuda_path_to_npp}")
\r
endif()
\r
endif()
\r
\r