Thanks, that should work.<br><br>Regards,<br><br>Juan<br><br><div class="gmail_quote">2009/11/24 Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tuesday 24 November 2009, j s wrote:<br>
> The most interesting thing is to be able to set the relative RPATH.<br>
><br>
> Is there a way to do this for a normal build, and not the install target?<br>
> I never use the install target for my project, but I'd like to be able to<br>
> set the relative path to my own copy of libstdc++. All of the RPATH<br>
> settings in the man page for cmake 2.4 seem to be in terms of INSTALL.<br>
<br>
</div>I think you can set the rpath relative to the containing ELF file<br>
using "$ORIGIN" in the path.<br>
<br>
If you want to build directly with the install (or custom) rpath, you can set<br>
BUILD_WITH_INSTALL_RPATH to TRUE and then set INSTALL_RPATH as you like.<br>
<br>
Alex<br>
</blockquote></div><br>