When writing libraries with CMake, you need to set a couple of properties, especially the VERSION and SOVERSION properties. For library libbar, it could look like:
|
1 2 |
set_property(TARGET bar PROPERTY VERSION "0.0.0") set_property(TARGET bar PROPERTY SOVERSION 0 ) |
This will give you a libbar.so => libbar.so.0 => libbar.so.0.0.0 symlink chain with…

Recent Comments