[CMake] Install with full absolute path on OS X

Michael Jackson mike.jackson at bluequartz.net
Tue Apr 26 14:24:30 EDT 2016


I am building a library and installing onto the local system. After 
installation otool reports that the path is "@rpath/lib/libEMsoft.dylib"

How can I have the installed path be the full absolute path to the 
library. For this use case @rpath is not going to work.

I have tried https://cmake.org/Wiki/CMake_RPATH_handling and variations 
of that information but none of it seems to work.

THanks
-- 
Mike Jackson  [mike.jackson at bluequartz.net]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160426/7a641589/attachment.html>


More information about the CMake mailing list