[CMake] library path stripping

Eric Noulard eric.noulard at gmail.com
Wed Jun 8 05:56:58 EDT 2011


2011/6/8 Andreas Naumann <Andreas-Naumann at gmx.net>:
> Hi @all,
>
> I have some problem with the library usage in cmake.
>
> It seems to me, that cmake removes the full path of the library, if the path
> is in the environment variable LIBRARY_PATH.
> This behaviour cause problems at our system, such that the linker links
> against the wrong library.
>
> Is there an option to avoid this splitting?

Did you read that:
http://www.cmake.org/Wiki/CMake_RPATH_handling

Which version of CMake are you using?
On which system ?


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list