cmake: add a possibility to set library version
authorPetr Štetiar <ynezz@true.cz>
Thu, 17 Feb 2022 12:04:45 +0000 (13:04 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 17 Feb 2022 12:26:44 +0000 (13:26 +0100)
commitaa8c48e9c139654814c88f9148118c707507e275
treea4d56d18e284349d57d1e2810d105d63b5a7f058
parent868fd8812f477c110f9c6c5252c0bd172167b94c
cmake: add a possibility to set library version

Add a new `ABIVERSION` define which allows to control the SOVERSION used
for the built shared library. This is needed for downstream packaging to
properly track breaking ABI changes when updating to newer versions of
the library.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
CMakeLists.txt