[CMake] Install an executable with his libraries

Anthony Todisco todisco.anthony.06 at gmail.com
Thu Jan 19 05:22:45 EST 2012


Thank you Eric for this link, but I don't really understand how to use
RPATH with CMake.

Could you provide me piece of advice for my case?


2012/1/18 Eric Noulard <eric.noulard at gmail.com>

> 2012/1/18 Anthony Todisco <todisco.anthony.06 at gmail.com>:
> > Thank you very much, it works fine now :D.
> >
> > I've missed this step :/
>
> On Unix you can configure RPATH in order to avoid the LD_LIBRARY_PATH
> update
> and/or tolerate more easily multiple version of the same lib for
> different executable.
>
> Have a look at:
> http://www.cmake.org/Wiki/CMake_RPATH_handling
>
>
> --
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120119/c84030fa/attachment.htm>


More information about the CMake mailing list