On 2/23/06, Brad King <[EMAIL PROTECTED]> wrote: > You can set CMAKE_SKIP_RPATH in the advanced cache options to disable > the rpaths that point at the build tree (this works with any CMake > version). Then the installed libraries will not have any rpath. > Programs can be executed by adding their location to LD_LIBRARY_PATH.
Does this actually work on OS X? (Since he stated he was using dylibs, which, afaik, are only on OS X or Darwin.) AFAIK, the full path to the library is always included in dylibs and you can't turn it off. (See http://developer.apple.com/releasenotes/DeveloperTools/dyld.html near the bottom where it lists "no rpath support".) What do you do in this case? Cheers, Tanner Lovelace -- Tanner Lovelace clubjuggler at gmail dot com http://wtl.wayfarer.org/ (fieldless) In fess two roundels in pale, a billet fesswise and an increscent, all sable. _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
