diff options
author | Brad King <brad.king@kitware.com> | 2017-06-28 12:45:05 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-06-28 12:45:08 (GMT) |
commit | b425ef07ff271948c5862eeed0746c45385e45a4 (patch) | |
tree | f04b729bda60522fc030b6b0e86f1c65380da458 | |
parent | a5ce7df589b43f0f6cdea73f98dac26f753c9e53 (diff) | |
parent | e7936751ee8e0ade7810df97434c985552cf8a7c (diff) | |
download | CMake-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.txt | 2 |
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) |