Re: [CMake] Installation corrupts library on OS X

2014-10-21 Thread Clinton Stimpson
On Tuesday, October 21, 2014 06:52:58 PM Filipe Maia wrote: > CMake's FindCUDA.cmake module adds the rpath when run on Mac OSX > (from FindCUDA.cmake): > > 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

Re: [CMake] Installation corrupts library on OS X

2014-10-21 Thread Filipe Maia
CMake's FindCUDA.cmake module adds the rpath when run on Mac OSX (from FindCUDA.cmake): 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. if(CUDA_BUILD_EMULATION AND CUDA_CUDARTEMU_LIBRARY) g