cmake: set SOVERSION also for macOS

Closes #10214
This commit is contained in:
Radek Brich 2023-01-03 14:31:57 +01:00 committed by Daniel Stenberg
parent fcd1b547d4
commit 3ef31a16fc
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -108,6 +108,7 @@ set_target_properties(${LIB_NAME} PROPERTIES
if(CMAKE_SYSTEM_NAME STREQUAL "AIX" OR
CMAKE_SYSTEM_NAME STREQUAL "Linux" OR
CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR
CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD" OR
# FreeBSD comes with the a.out and elf flavours