Fix soname version

0ad94eed00 changed the libbrotli libraries' soname
version from 1.0.1 (following standard conventions) to just 1. This isn't the end of the world,
but it seems like a mistake.

See also: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/O6W3HE445NYZRVVFGLA2OTAR7ZHRFHI2/
This commit is contained in:
Michael Catanzaro 2018-03-06 19:05:14 -06:00 committed by GitHub
parent 533843e354
commit 0d63d7c1d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,8 +158,8 @@ foreach(lib brotlicommon brotlidec brotlienc brotlicommon-static brotlidec-stati
target_link_libraries(${lib} ${LIBM_LIBRARY})
set_property(TARGET ${lib} APPEND PROPERTY INCLUDE_DIRECTORIES ${BROTLI_INCLUDE_DIRS})
set_target_properties(${lib} PROPERTIES
VERSION "${BROTLI_ABI_COMPATIBILITY}.${BROTLI_ABI_AGE}.${BROTLI_ABI_REVISION}"
SOVERSION "${BROTLI_ABI_COMPATIBILITY}"
SOVERSION "${BROTLI_ABI_COMPATIBILITY}.${BROTLI_ABI_AGE}.${BROTLI_ABI_REVISION}"
VERSION "${BROTLI_ABI_COMPATIBILITY}"
POSITION_INDEPENDENT_CODE TRUE)
set_property(TARGET ${lib} APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${BROTLI_INCLUDE_DIRS}")
endforeach()