<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 13, 2013 at 4:54 PM, Clinton Stimpson <span dir="ltr">&lt;<a href="mailto:clinton@elemtech.com" target="_blank">clinton@elemtech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The INSTALL_NAME_DIR property applies at install time.  If you want it to<br>
apply at build time, where it would show up on the link line, you need to set<br>
BUILD_WITH_INSTALL_RPATH.<br>
<br></blockquote><div>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.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
And since you referenced previous mailing list rpath/Mac discussions, you may<br>
want to look at this blog, which includes the recommendation to not set<br>
INSTALL_NAME_DIR anymore (available in the upcoming CMake 2.8.12 or available<br>
now on if you compile the current master).<br>
<a href="http://www.kitware.com/blog/home/post/510" target="_blank">http://www.kitware.com/blog/home/post/510</a><br><br></blockquote><div>Thanks, good to know.<br><br></div><div>Cheers,<br>Vittorio <br></div></div><br></div>
</div>