[CMake] RPATH and $ORIGIN

Brad King brad.king at kitware.com
Tue Aug 5 09:59:24 EDT 2008


Iker Arizmendi wrote:
> I've run into some trouble with how CMake 2.4.2 (and perhaps
> later) handles the string "$ORIGIN" when it appears as part of
> an RPATH. I've gotten around the trouble (see below), but would
> appreciate any pointers on the correct way to use "$ORIGIN".

This will work with CMake 2.6.0 and 2.6.1 if you accept default behavior
(don't use -DCMAKE_NO_BUILTIN_CHRPATH=ON).  I've just commited fixes to
CMake HEAD in CVS to make it always work.  We'll include them in 2.6.2.

-Brad



More information about the CMake mailing list