cmake: set SONAME for SunOS too

Provided-by: Brian Lund

Closes #10816
This commit is contained in:
Daniel Stenberg 2023-03-22 14:07:54 +01:00
parent 78f73f79ca
commit 4528690cd5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -86,6 +86,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 "SunOS" OR
CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD" OR
# FreeBSD comes with the a.out and elf flavours