[CMake] using CMAKE_BUILD_WITH_INSTALL_RPATH
Alexander Neundorf
a.neundorf-work at gmx.net
Sun Jun 18 12:07:34 EDT 2006
-------- Original-Nachricht --------
Datum: Sun, 18 Jun 2006 14:07:46 +0200
Von: Craig Bradney <cbradney at zip.com.au>
An: cmake at cmake.org
Betreff: Re: [CMake] using CMAKE_BUILD_WITH_INSTALL_RPATH
> On Tuesday 30 May 2006 17:21, Iker Arizmendi wrote:
> > Explicitly setting CMAKE_SKIP_RPATH to OFF
> > addressed the problem.
> >
> > Thanks,
> > Iker
> >
> > Brad King wrote:
> > > Iker Arizmendi wrote:
> > >> What is the correct way to set the install RPATH under
> > >> CMake 2.4.2? At the moment I do the following within my
> > >> project's top most CMakeLists.txt file:
> > >>
> > >> SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
> > >> SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)
> > >>
> > >> And the RPATH refuses to show itself in the installed
> > >> binaries for my project.
> > >
> > > What generator are you using and on what platform? Do you set
> > > CMAKE_SKIP_RPATH anywhere? Is it in the cache?
>
> Was there a bug in 2.4.2 that either CMAKE_BUILD_WITH_INSTALL_RPATH or
> CMAKE_SKIP_RPATH were ignored? I was getting CMAKE_SKIP_RPATH set to yes
> in
> my cache file, and after using cmake cvs it gets set to no as I have
> CMAKE_BUILD_WITH_INSTALL_RPATH set.
In gentoo cmake 2.4.2 is built with CMAKE_SKIP_RPATH defaulting to OFF.
Are you using gentoo ?
Bye
Alex
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
More information about the CMake
mailing list