From 0d63d7c1d1b44d11903c9a61dff4050b5df6c7f3 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 6 Mar 2018 19:05:14 -0600 Subject: [PATCH] Fix soname version 0ad94eed00420bf1154cb16a289aa27efbb30c01 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/ --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2dc7232..f3e6735 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()