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>
INSTALL(TARGETS ustream-ssl
LIBRARY DESTINATION lib
)
+
+IF(ABIVERSION)
+ SET_TARGET_PROPERTIES(ustream-ssl PROPERTIES VERSION ${ABIVERSION})
+ENDIF()