[CMake] shared library versioning on OS X

Bruce Stephens bruce.r.stephens at gmail.com
Sat Feb 20 13:49:20 EST 2016


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160220/6343160b/attachment.html>


More information about the CMake mailing list