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:
parent
dd30dcb002
commit
53c12b97f6
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue