[CMake] Install an executable with his libraries

Eric Noulard eric.noulard at gmail.com
Wed Jan 18 07:00:52 EST 2012


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


More information about the CMake mailing list