Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Daryl N
Thank you! I did not know about $ORIGIN but that is indeed exactly what I need. From: Alexander Neundorf To: cmake@cmake.org Cc: Daryl N Sent: Tue, February 15, 2011 3:45:25 PM Subject: Re: [CMake] Setting target destination and rpath per generator On

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Daryl N
use the bin/lib folder structure in the TGZ, then I would need to set rpath to "../lib" for them to be found. And then that would be part of the rpath for the DEB package too. Sounds like 2 build cycles may be needed. Daryl From: Eric Noulard To: Daryl N Cc: cmake@cmake.org

[CMake] Setting target destination and rpath per generator

2011-02-14 Thread Daryl N
Hi, I have a question on the use of CPack. I have CMake setup to generate binaries and shared libraries. Up until now I have only created a TGZ with rpath set to ".". This has worked nicely, but now I would like to create a Debian package for proper installation. I have added DEB to CPACK_G