[CMake] BundleUtilities problem

Michael Wild themiwi at gmail.com
Mon Feb 22 10:53:07 EST 2010


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