Re: [CMake] RPATH/RUNPATH

2011-08-23 Thread Alexander Neundorf
On Friday 19 August 2011, Michael Hertling wrote: > On 08/17/2011 10:03 PM, Knox, Kent wrote: > > Yes, that's right. I'm currently using cmake with RPATH, but from what > > I've been reading the RUNPATH header is now the more preferred approach. > > If the user does not set LD_LIBRARY_PATH, the R

Re: [CMake] RPATH/RUNPATH

2011-08-18 Thread Michael Hertling
itly, in particular as ld does not provide an immediate option to set this tag, AFAIK. Also, there's no need to bother with chrpath/patchelf in a pre- or post-install manner. 'hope that helps. Regards, Michael > -Original Message----- > From: David Cole [mailto:david.c...@kit

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread Knox, Kent
7;s, but I'm not quite sure how to write this in CMake yet. Wanted to check first if CMake had undocumented or planned settings first. Kent -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, August 17, 2011 2:13 PM To: Knox, Kent Cc: cmake@cmake

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread David Cole
RUNPATH? > > -Original Message- > From: David Cole [mailto:david.c...@kitware.com] > Sent: Wednesday, August 17, 2011 1:57 PM > To: Knox, Kent > Cc: cmake@cmake.org > Subject: Re: [CMake] RPATH/RUNPATH > > You can use CMake's RPATH related properties to put a path containi

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread Knox, Kent
Any comments on CMake support or planned support for RUNPATH? -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, August 17, 2011 1:57 PM To: Knox, Kent Cc: cmake@cmake.org Subject: Re: [CMake] RPATH/RUNPATH You can use CMake's RPATH related prope

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread David Cole
hough. > > -Original Message- > From: David Cole [mailto:david.c...@kitware.com] > Sent: Wednesday, August 17, 2011 11:37 AM > To: Knox, Kent > Cc: cmake@cmake.org > Subject: Re: [CMake] RPATH/RUNPATH > > Perhaps try googling "cmake rpath" ... ? > >

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread Knox, Kent
: Wednesday, August 17, 2011 11:37 AM To: Knox, Kent Cc: cmake@cmake.org Subject: Re: [CMake] RPATH/RUNPATH Perhaps try googling "cmake rpath" ... ? http://www.cmake.org/Wiki/CMake_RPATH_handling On Wed, Aug 17, 2011 at 12:03 PM, Knox, Kent wrote: > Is there any support or planned sup

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread David Cole
Perhaps try googling "cmake rpath" ... ? http://www.cmake.org/Wiki/CMake_RPATH_handling On Wed, Aug 17, 2011 at 12:03 PM, Knox, Kent wrote: > Is there any support or planned support in CMake for RUNPATH?  On a related > note, is it possible for CMake to set the RPATH/RUNPATH using $ORIGIN on

[CMake] RPATH/RUNPATH

2011-08-17 Thread Knox, Kent
Is there any support or planned support in CMake for RUNPATH? On a related note, is it possible for CMake to set the RPATH/RUNPATH using $ORIGIN on 'make install'? This way the install directory can be self-referential and moved as a unit around the filesystem? Kent _