Should be in the common libs variable.

This commit is contained in:
Pentarctagon 2021-05-22 15:01:25 -05:00
parent 370ec24ed7
commit 985d1a7042
No known key found for this signature in database
GPG Key ID: 9456BC54A21DBFA0

View File

@ -42,6 +42,10 @@ if(WIN32)
set(common-external-libs ${common-external-libs} shlwapi.lib winmm.lib crypt32.lib)
endif(WIN32)
if(APPLE)
set(common-external-libs ${common-external-libs} ${IOKIT_LIBRARY} ${SECURITY_LIBRARY})
endif(APPLE)
set(game-external-libs
${common-external-libs}
${SDL2_LIBRARY}
@ -66,10 +70,6 @@ if(NOT WIN32)
set(server-external-libs ${server-external-libs} -lpthread)
endif(NOT WIN32)
if(APPLE)
set(game-external-libs ${game-external-libs} ${IOKIT_LIBRARY} ${SECURITY_LIBRARY})
endif(APPLE)
if(MINGW)
set(server-external-libs ${server-external-libs} wsock32 ws2_32 shlwapi winmm)
set(game-external-libs ${game-external-libs} wsock32 ws2_32 shlwapi winmm)