[CMake] absolute rpath

Jörg Becker news at elke-joerg.de
Wed Mar 5 14:25:23 EST 2008


On Tuesday 04 March 2008 22:10, Alexander Neundorf wrote:
> Indeed, with cmake 2.4.6 and 2.4.8 "." is expanded to the current dir, with
> cmake cvs HEAD it stays "." in the executable (is this then actually
> relative to the location of the executable or to the current working
> directory ?)

It is relative to the current working directory. This is one reason why it is 
an unsatisfying  workaround. If you miss to change the directory, the 
executable will not find the shared objects and could not start.

Jörg


More information about the CMake mailing list