1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

cmake: Set SOVERSION

Fixes #410.
This commit is contained in:
Nick Wellnhofer 2022-09-20 14:30:19 +02:00
parent 1d4f5d24ac
commit 796c830a2f

View File

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