[CMake] shared library versioning on OS X

clinton at elemtech.com clinton at elemtech.com
Sat Feb 20 13:59:20 EST 2016


Perhaps this bug report fits what you are seeing.  Are you seeing this limitation in the ninja generator?

https://cmake.org/Bug/view.php?id=14140

Clint

On Feb 20, 2016 11:49 AM, Bruce Stephens <bruce.r.stephens at gmail.com> wrote:
>
> By the looks of it setting the SOVERSION when generating a SHARED library creates the symbolic link, but it doesn't seem to use the -current_version or -compatibility_version flags when linking.
>
> Those flags are set as variables CMAKE_C_OSX_CURRENT_VERSION_FLAG and CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG (and similar for other languages) but those don't seem to be used.
>
> Is that deliberate?
>


More information about the CMake mailing list