Added SOVERSION to shared libraries.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
This commit is contained in:
Vitaly Zaitsev 2018-09-17 13:39:11 +02:00 committed by Aliaksei Levin
parent 73b98138d5
commit 37c83bd39e

View File

@ -894,3 +894,7 @@ write_basic_package_version_file("TdConfigVersion.cmake"
install(FILES "TdConfig.cmake" "${CMAKE_CURRENT_BINARY_DIR}/TdConfigVersion.cmake"
DESTINATION lib/cmake/Td
)
# Add SOVERSION to shared libraries
set_property(TARGET tdclient PROPERTY SOVERSION ${TDLib_VERSION})
set_property(TARGET tdjson PROPERTY SOVERSION ${TDLib_VERSION})