cmake: Fix shared library versioning on NetBSD
This commit is contained in:
@@ -18,6 +18,14 @@ function(set_libtool_abi_version target current revision age)
|
||||
SOVERSION ${_major}
|
||||
VERSION ${_major}.${age}.${revision}
|
||||
)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
|
||||
# version_type = sunos
|
||||
# major = $current
|
||||
# versuffix = $current.$revision
|
||||
set_target_properties(${target} PROPERTIES
|
||||
SOVERSION ${current}
|
||||
VERSION ${current}.${revision}
|
||||
)
|
||||
elseif(APPLE)
|
||||
# version_type = darwin
|
||||
# major = $current - $age
|
||||
|
||||
Reference in New Issue
Block a user