On Sat, May 3, 2014 at 7:17 AM, <clin...@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/ -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake