mirror of
https://github.com/reactos/CMake.git
synced 2025-01-25 05:04:37 +00:00
curl: Fix build on Haiku
On Haiku the network functions are in libnetwork, so use it when it exists.
This commit is contained in:
parent
8fe54172fc
commit
e7936751ee
@ -929,6 +929,8 @@ if(HAVE_LIBWS2_32)
|
||||
set(CMAKE_REQUIRED_LIBRARIES ws2_32)
|
||||
elseif(HAVE_LIBSOCKET)
|
||||
set(CMAKE_REQUIRED_LIBRARIES socket)
|
||||
elseif(HAVE_LIBNETWORK)
|
||||
set(CMAKE_REQUIRED_LIBRARIES network)
|
||||
endif()
|
||||
|
||||
check_symbol_exists(basename "${CURL_INCLUDES}" HAVE_BASENAME)
|
||||
|
Loading…
x
Reference in New Issue
Block a user