hypre
hypre copied to clipboard
Set SOVERSION and VERSION when building as shared library in CMake
For shared library, Adding VERSION and SOVERSION can specify the build version and api version. It is useful to indicate that the ABI compatibility, will be beneficial for the packaging of various Linux distributions.
Ref: https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html https://docs.fedoraproject.org/en-US/packaging-guidelines/#_downstream_so_name_versioning https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#run-time-shared-libraries https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Underlying_principles