Skip to content

Commit 5b49c23

Browse files
committed
Build static libs on Apple
1 parent a38a08f commit 5b49c23

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ set(OBJS
6868
if (MSVC)
6969
add_library(entwine STATIC ${OBJS})
7070
target_link_libraries(entwine PRIVATE wsock32 ws2_32)
71+
elseif(APPLE)
72+
add_library(entwine STATIC ${OBJS})
7173
else()
7274
add_library(entwine SHARED ${OBJS})
7375
endif()

0 commit comments

Comments
 (0)