[CMake] "portable" linux binaries?

j s j.s4403 at gmail.com
Tue Nov 24 16:46:27 EST 2009


Thanks, that should work.

Regards,

Juan

2009/11/24 Alexander Neundorf <a.neundorf-work at gmx.net>

> On Tuesday 24 November 2009, j s wrote:
> > The most interesting thing is to be able to set the relative RPATH.
> >
> > Is there a way to do this for a normal build, and not the install target?
> > I never use the install target for my project, but I'd like to be able to
> > set the relative path to my own copy of libstdc++.  All of the RPATH
> > settings in the man page for cmake 2.4 seem to be in terms of INSTALL.
>
> I think you can set the rpath relative to the containing ELF file
> using "$ORIGIN" in the path.
>
> If you want to build directly with the install (or custom) rpath, you can
> set
> BUILD_WITH_INSTALL_RPATH to TRUE and then set INSTALL_RPATH as you like.
>
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091124/a1ae040d/attachment.htm>


More information about the CMake mailing list