On Tuesday 25 October 2011, Alexander Neundorf wrote:
...
> If you want to create a zip file, you should use "make package" to do that.
> During that step also "make install" will be executed.
> In that step the install RPATH will be patched into the ELF files.
> By default this will be empty (so the libs won't be found).
> But you can set it explicitely using target properties.
> If you want relative RPATH, you can use @ORIGIN for ELF files, e.g. for
> executables in bin you can set @ORIGIN/../lib/  (or just @ORIGIN as in your
> setup).

I think it's $ORIGIN, not @ORIGIN.

Alex
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to