[cmake-developers] SONAME on APPLE?

Brad King brad.king at kitware.com
Tue Jul 10 08:57:46 EDT 2012


On 07/10/2012 08:46 AM, Stephen Kelly wrote:
> What is in the file is this:
> 
> $ otool -D 
> /Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/cmakeqt
>     /Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/cmakeqt:
>     cmakeqt.framework/Versions/5.0.0/cmakeqt
> 
> ie, "cmakeqt.framework/Versions/5.0.0/cmakeqt"
> 
> What is in the IMPORTED_SONAME is "cmakeqt":
> 
> $ grep SONAME 
> /Users/kdab/dev/cmake/build/prefix/share/MyTargets-debug.cmake
>       IMPORTED_SONAME_DEBUG "cmakeqt"
> 
> 
> Do we have conflicting definitions somewhere along the way? Or am I not 
> retrieving the "shared library id" correctly from the binary?

Okay.  I'm not really a Mac person either.  I guess I don't know
what should go in there for frameworks.  No one has complained
about the status quo of CMake's behavior.  Just match that.

-Brad



More information about the cmake-developers mailing list