let the library VERSION = the project's one (issue #490)

This is a cross-platform usability improvement.
On Unix platforms it is customary for library to have VERSION
and SOVERSION, where SOVERSION changes on major API changes
and VERSION is the same as project's version, so library users
always know what vesion this library belongs to just by name.
With this patch we have a proper libmimalloc.so.VERSION on Unix.
This commit is contained in:
Igor Vlasenko 2021-11-28 19:20:12 +02:00
parent acc64ee5cd
commit f82e13ac91
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
set(mi_version_major 1)
set(mi_version_minor 7)
set(mi_version ${mi_version_major}.${mi_version_minor})
set(mi_version_patch 3)
set(mi_version ${mi_version_major}.${mi_version_minor}.${mi_version_patch})
set(PACKAGE_VERSION ${mi_version})
if(PACKAGE_FIND_VERSION_MAJOR)