cmake: Set SOVERSION

Fixes #410.
This commit is contained in:
Nick Wellnhofer 2022-09-20 14:30:19 +02:00
parent d3b4850af1
commit b05ff0ab0c

View File

@ -449,6 +449,7 @@ set_target_properties(
POSITION_INDEPENDENT_CODE ON
PREFIX lib
VERSION ${PROJECT_VERSION}
SOVERSION ${LIBXML_MAJOR_VERSION}
)
if(MSVC)