[CMake] absolute rpath

Alexander Neundorf a.neundorf-work at gmx.net
Wed Feb 20 13:01:55 EST 2008


On Wednesday 20 February 2008, Jörg Becker wrote:
> Hi,
...
> I used make and automake. Both allowed me to set relative rpaths. I really
> want to leave the automake hell and use cmake, but I have to use 'rpath .'.

Use:
set_target_properties(hello PROPERTIES  INSTALL_RPATH . )

(I think usually this is not considered a good idea)

Alex


More information about the CMake mailing list