[CMake] absolute rpath

Hendrik Sattler post at hendrik-sattler.de
Wed Feb 20 13:08:27 EST 2008


Am Mittwoch 20 Februar 2008 schrieb Alexander Neundorf:
> 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)

Windows searches in '.' for DLLs by default. You don't have to do anything to 
achieve that.

HS



More information about the CMake mailing list