Re: [CMake] CPack and fixup_bundle

2011-03-21 Thread Simon Drouin
Makes sense once you know. Thanks a lot, I would have searched a long time for that. s. On Fri, Mar 18, 2011 at 2:44 AM, Tyler wrote: > It's a little obtuse but you need to use \${CMAKE_INSTALL_PREFIX} in that > first argument to fixup_bundle(). If you don't, ${CMAKE_INSTALL_PREFIX} will > be e

Re: [CMake] CPack and fixup_bundle

2011-03-17 Thread Tyler
It's a little obtuse but you need to use \${CMAKE_INSTALL_PREFIX} in that first argument to fixup_bundle(). If you don't, ${CMAKE_INSTALL_PREFIX} will be evaluated at CMake-time and therefore point to your build-time install directory. You want to delay evaluation of that variable until CPack time,

[CMake] CPack and fixup_bundle

2011-03-17 Thread Simon Drouin
I'm trying to use CPack to create a .tar.gz package on linux. I use fixup_bundle from the bundle utility to copy and fix Qt libraries to the bundle. When I use simple 'make install', everything is installed properly in directory specified by CMAKE_INSTALL_PREFIX. When I use CPack, the Qt libraries