[CMake] install name for fortran dylibs on mac

Dan Kegel dank at kegel.com
Sat May 3 10:54:47 EDT 2014


On Sat, May 3, 2014 at 7:17 AM,  <clinton at elemtech.com> wrote:
> Use at least CMake 2.8.12 and in your library project add this:
> set(CMAKE_MACOSX_RPATH 1)
> ...
> For more details:
> http://www.kitware.com/blog/home/post/510

What he said.  See also past discussion at
http://web.archiveorange.com/archive/v/5y7PkspCBZwiWhvodZSP
I put together some tiny demos showing various ways to do it, with
walkthroughs, at
http://kegel.com/macosx/rpath/


More information about the CMake mailing list