Added SOVERSION to shared libraries.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
This commit is contained in:
parent
73b98138d5
commit
37c83bd39e
@ -894,3 +894,7 @@ write_basic_package_version_file("TdConfigVersion.cmake"
|
|||||||
install(FILES "TdConfig.cmake" "${CMAKE_CURRENT_BINARY_DIR}/TdConfigVersion.cmake"
|
install(FILES "TdConfig.cmake" "${CMAKE_CURRENT_BINARY_DIR}/TdConfigVersion.cmake"
|
||||||
DESTINATION lib/cmake/Td
|
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})
|
||||||
|
Reference in New Issue
Block a user