[CMake] how to keep rpath from build to install

Xavier Besseron xavier.besseron at uni.lu
Mon Mar 7 16:14:16 EST 2016


Hi Srinath,

I guess you will find what you need here:
https://cmake.org/Wiki/CMake_RPATH_handling

Best regards,

Xavier


On Mon, Mar 7, 2016 at 4:35 PM, Srinath Vadlamani <
srinath.vadlamani at gmail.com> wrote:

> Hello All,
>   How do I keep the rpath used during the build of an executable the same
> when I install that executable using INSTALL(TARGETS ....)?
>
> I do set :
>
> SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
>
> =================================
> Srinath Vadlamani
> =================================
>



-- 
Dr Xavier BESSERON
Research associate
FSTC, University of Luxembourg
Campus Kirchberg, Office E-007
Phone: +352 46 66 44 5418
http://luxdem.uni.lu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160307/a08570fc/attachment.html>


More information about the CMake mailing list