mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
parent
fd1cdbfa74
commit
6c1e50bba5
|
@ -262,9 +262,7 @@ if(NOT CMAKE_CROSSCOMPILING)
|
|||
find_package(PkgConfig)
|
||||
endif()
|
||||
find_package(ZLIB)
|
||||
if(TARGET_OS AND NOT(TARGET_OS STREQUAL "mac"))
|
||||
find_package(Crypto)
|
||||
endif()
|
||||
find_package(Crypto)
|
||||
find_package(Curl)
|
||||
find_package(Freetype)
|
||||
if(DOWNLOAD_GTEST)
|
||||
|
@ -1492,7 +1490,7 @@ foreach(target ${TARGETS_LINK})
|
|||
target_link_libraries(${target} -stdlib=libc++)
|
||||
target_link_libraries(${target} -mmacosx-version-min=10.7)
|
||||
endif()
|
||||
if(MINGW)
|
||||
if(MINGW OR TARGET_OS STREQUAL "linux")
|
||||
# Statically link the standard libraries with on MinGW/Linux so we don't
|
||||
# have to ship them as DLLs.
|
||||
target_link_libraries(${target} -static-libgcc)
|
||||
|
|
Loading…
Reference in a new issue