[CMake] absolute rpath

Jörg Becker news at elke-joerg.de
Fri Feb 29 04:18:11 EST 2008


On Friday, 29. February 2008 00:18:18 Alexander Neundorf wrote:
> > > So you need your program to be executable anywhere in the file system,
> > > and it also has to find its shared libs ?
> > > Would setting PATH be a alternative ?
> >
> > Yes, setting PATH or LD_LIBRARY_PATH in a shell wrapper is an
> > alternative.
> >
> > > You could create automatically shell
> > > scripts which do that for you.
> >
> > Does automatically mean by CPack? The docu about CPack is quite short (Is
>
> No.
> Automatically means that you can write a macro which wraps add_executable()
> and which also creates such a wrapper script.
>
I'll try it this way. Thanks a lot for your help!

Jörg



More information about the CMake mailing list