mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
link against libz on non Apple/Windows
Needed by libcrypto at least
This commit is contained in:
parent
3341cded57
commit
eb2a7342b8
1 changed files with 2 additions and 1 deletions
|
@ -1117,7 +1117,8 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "(SunOS|Solaris)")
|
||||||
set(EXTRA_LIBRARIES socket nsl resolv)
|
set(EXTRA_LIBRARIES socket nsl resolv)
|
||||||
elseif(NOT MSVC AND NOT DEPENDS)
|
elseif(NOT MSVC AND NOT DEPENDS)
|
||||||
find_library(RT rt)
|
find_library(RT rt)
|
||||||
set(EXTRA_LIBRARIES ${RT})
|
find_library(Z z)
|
||||||
|
set(EXTRA_LIBRARIES ${RT} ${Z})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue