On Thu, Jun 13, 2013 at 4:54 PM, Clinton Stimpson <[email protected]>wrote:

> The INSTALL_NAME_DIR property applies at install time.  If you want it to
> apply at build time, where it would show up on the link line, you need to
> set
> BUILD_WITH_INSTALL_RPATH.
>
> I found the issues, CMAKE_INSTALL_NAME_DIR got ignored because I had
another project CMakeLists.txt embedded in mine which set
CMAKE_SKIP_BUILD_RPATH to false, thus preventing any modifcation of the
rpath/dylib path.


> And since you referenced previous mailing list rpath/Mac discussions, you
> may
> want to look at this blog, which includes the recommendation to not set
> INSTALL_NAME_DIR anymore (available in the upcoming CMake 2.8.12 or
> available
> now on if you compile the current master).
> http://www.kitware.com/blog/home/post/510
>
> Thanks, good to know.

Cheers,
Vittorio
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to