1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-28 05:26:04 +02:00

Use correct soname

Set major version automatically using CMake variables.
This commit is contained in:
Benson Muite 2023-10-03 09:08:04 +03:00 committed by GitHub
parent dd30dcb002
commit 53c12b97f6
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ endif()
target_include_directories(blake3 PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
set_target_properties(blake3 PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION 0
SOVERSION ${PROJECT_VERSION_MAJOR}
C_VISIBILITY_PRESET hidden
)