[CMake] Fwd: BundleUtilities problem

Michael Wild themiwi at gmail.com
Fri Feb 26 06:43:05 EST 2010


Bump...

Created http://public.kitware.com/Bug/view.php?id=10337 for this.

Begin forwarded message:

> From: Michael Wild <themiwi at gmail.com>
> Date: 22. February, 2010 4:53:07 PM GMT+01:00
> To: CMake List <cmake at cmake.org>
> Subject: BundleUtilities problem
> 
> Hi all
> 
> I'm using CMake-2.8.0 and have the following problem when trying to deploy a Qt application (ParaView) on Mac OS X using the BundleUtilities:
> 
> When using the binary Qt installer, libQtCLucene.dylib is unfortunately installed into /usr/lib, which makes get_prerequisites() (actually, the culprit is gp_resolved_file_type()) think it is a system-library and doesn't need to be packed up in the bundle. If, however, I force BundleUtilities to do so by passing /usr/lib/libQtCLucene.dylib to fixup_bundle(), the library gets packed up into the bundle and it's install_name is changed appropriately, but the other libraries and executables referencing this library do not get updated.
> 
> I do realize I actually should be blaming Nokia for installing something into /usr/lib which doesn't belong there, but do you guys have any suggestion on how to work around this issue (apart from doing it manually, of course)? Probably future versions of GetPrerequisites should probably provide a gp_resolved_file_type_override() hook...
> 
> Thanks in advance
> 
> Michael



More information about the CMake mailing list