[CMake] absolute rpath

Jörg Becker news at elke-joerg.de
Thu Feb 21 07:07:38 EST 2008


On Wednesday, 20. February 2008 19:08:27 Hendrik Sattler wrote:
> Windows searches in '.' for DLLs by default. You don't have to do anything
> to achieve that.

Yes and windows has no rpath. Perhaps I wasn't clear enough. I want (more 
exactly: have) to have the windows behavior on linux. Which means I want to 
set the rpath to '.' in my linux executables and shared objects to enable 
them to find the shared objects they depend on automatically (in case they 
are installed in the same directory), without relinking them, changing PATH 
or LD_LIBRARY_PATH.

Jörg


More information about the CMake mailing list