Browse Source

cmake: set SOVERSION also for macOS

Closes #10214
Radek Brich 1 year ago
parent
commit
3ef31a16fc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/CMakeLists.txt

+ 1 - 0
lib/CMakeLists.txt

@@ -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