The clue is probably that RPATH support on the Mac is "behind" and has
only recently been merged to master... -- although you didn't say
exactly how much you'd be willing to pay for a clue... :-)
Here are some related commits:
http://cmake.org/gitweb?p=cmake.git&a=search&h=refs%2Fheads%2Fmaster&st=commit&s=RPATH
They are in master now, and should also be in the release candidates of
CMake 2.8.12.
Looks like you need to set the target property MACOSX_RPATH to 1 in
addition to what you're already doing. And also use CMake 2.8.12-rc* or
a build of CMake from 'master'.
Also, some adjustments are made at "make install" time, although since
you're using BUILD_WITH_INSTALL_RPATH, that fact should be irrelevant
in your case...
HTH,
David
--
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