[CMake] how to keep rpath from build to install

Xavier Besseron xavier.besseron at uni.lu
Tue Mar 8 14:29:33 EST 2016


Srinath,

You should better ask the list than me.
It would help if you describe precisely what you tried, and what result you
get.

Best regards,

Xavier


On Tue, Mar 8, 2016 at 4:31 PM, Srinath Vadlamani <
srinath.vadlamani at gmail.com> wrote:

> Hello Xavier,
>  I have implemented all of what is in the website and if I objdump -x * |
> grep -i rpath on the executables in the install directory I get a null
> result.
>
> Thanks,
> <>Srinath
>
> =================================
> Srinath Vadlamani
> =================================
>
> On Mon, Mar 7, 2016 at 2:14 PM, Xavier Besseron <xavier.besseron at uni.lu>
> wrote:
>
>> 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/
>>
>>
>


-- 
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/20160308/b6bceca7/attachment.html>


More information about the CMake mailing list