[CMake] Question about BundleUtilities

Clinton Stimpson clinton at elemtech.com
Fri Oct 22 11:42:43 EDT 2010


On Friday, October 22, 2010 09:22:47 am Marco Nolden wrote:
> On 10/19/2010 11:26 PM, David Cole wrote:
> > How does "..../install/MacOS/liblibB.dylib" end up in the list of
> > references that libA depends on if that's not where libB is built....?
> 
> Asking the right questions sometimes helps, thank you ;) This particular
> error was caused by a lib lying around in the build tree from a previous
> build ...
> 
> Finally we solved a lot of problems with the overrides. One thing that
> is maybe a bug: in copy_resolved_item_into_bundle the RPATH gets removed
> on linux even if resolved_item == resolved_embedded_item . This caused
> problems for us if fixing two executables with two different
> fixup_bundle calls in one project. We used an override to type "system"
> to prevent this, but it does not seem to be logical.

Yes, that looks like a bug.  I agree that it should remove rpaths only for the 
dependencies copied in.

Clint


More information about the CMake mailing list