<div dir="ltr"><div>Hi Srinath,<br></div><div><br></div><div>I guess you will find what you need here:</div><div><a href="https://cmake.org/Wiki/CMake_RPATH_handling">https://cmake.org/Wiki/CMake_RPATH_handling</a><br></div><div><br></div><div>Best regards,</div><div><br></div><div>Xavier</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 7, 2016 at 4:35 PM, Srinath Vadlamani <span dir="ltr"><<a href="mailto:srinath.vadlamani@gmail.com" target="_blank">srinath.vadlamani@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div dir="ltr">Hello All,
<div>  How do I keep the rpath used during the build of an executable the same when I install that executable using INSTALL(TARGETS ....)?</div>
<div><br>
</div>
<div>I do set :</div>
<div>
<pre style="font-family:monospace,Courier;padding:1em;border:1px solid rgb(221,221,221);color:rgb(0,0,0);line-height:1.1em;font-size:12.7px;background-color:rgb(249,249,249)">SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)</pre>
</div>
<div>
<div>
<div>=================================<span class="HOEnZb"><font color="#888888"><br>
Srinath Vadlamani<br>
=================================</font></span></div>
</div>
</div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Dr Xavier BESSERON<br>Research associate<br>FSTC, University of Luxembourg<br>Campus Kirchberg, Office E-007<br>Phone: +352 46 66 44 5418<br><div><a href="http://luxdem.uni.lu/" target="_blank">http://luxdem.uni.lu/</a><br></div><div><br></div></div></div>
</div>