summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-28 12:45:05 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-06-28 12:45:08 (GMT)
commitb425ef07ff271948c5862eeed0746c45385e45a4 (patch)
treef04b729bda60522fc030b6b0e86f1c65380da458
parenta5ce7df589b43f0f6cdea73f98dac26f753c9e53 (diff)
parente7936751ee8e0ade7810df97434c985552cf8a7c (diff)
downloadCMake-b425ef07ff271948c5862eeed0746c45385e45a4.zip
CMake-b425ef07ff271948c5862eeed0746c45385e45a4.tar.gz
CMake-b425ef07ff271948c5862eeed0746c45385e45a4.tar.bz2
Merge topic 'curl-haiku'
e7936751 curl: Fix build on Haiku Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1006
-rw-r--r--Utilities/cmcurl/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index 45ae3de..d85f366 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -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)