mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
parent
125764815b
commit
d10ab196f5
|
@ -120,7 +120,11 @@ if(TARGET_OS STREQUAL "windows")
|
|||
set(PLATFORM_LIBS ws2_32) # Windows sockets
|
||||
else()
|
||||
set(PLATFORM_CLIENT_LIBS GL GLU X11)
|
||||
set(PLATFORM_LIBS)
|
||||
if(TARGET_OS STREQUAL "linux")
|
||||
set(PLATFORM_LIBS rt) # clock_gettime for glibc < 2.17
|
||||
else()
|
||||
set(PLATFORM_LIBS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES Clang OR CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
||||
|
@ -276,10 +280,13 @@ if(CLIENT)
|
|||
${LIBS}
|
||||
${CURL_LIBRARIES}
|
||||
${FREETYPE_LIBRARIES}
|
||||
${OGG_LIBRARIES}
|
||||
${SDL2_LIBRARIES}
|
||||
|
||||
# Order of these three is important.
|
||||
${OPUSFILE_LIBRARIES}
|
||||
${OPUS_LIBRARIES}
|
||||
${SDL2_LIBRARIES}
|
||||
${OGG_LIBRARIES}
|
||||
|
||||
${PLATFORM_CLIENT_LIBS}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue