From c9c4f7b547190709622fb012c446d060710a7d9f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 21 May 2019 16:47:53 +0200 Subject: configure/cmake: check for if_nametoindex() - adds the check to cmake - fixes the configure check to work for cross-compiled windows builds Closes #3917 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c8c77e1d8..388f790db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -887,6 +887,7 @@ check_symbol_exists(ftruncate "${CURL_INCLUDES}" HAVE_FTRUNCATE) check_symbol_exists(getprotobyname "${CURL_INCLUDES}" HAVE_GETPROTOBYNAME) check_symbol_exists(getpeername "${CURL_INCLUDES}" HAVE_GETPEERNAME) check_symbol_exists(getsockname "${CURL_INCLUDES}" HAVE_GETSOCKNAME) +check_symbol_exists(if_nametoindex "${CURL_INCLUDES}" HAVE_IF_NAMETOINDEX) check_symbol_exists(getrlimit "${CURL_INCLUDES}" HAVE_GETRLIMIT) check_symbol_exists(setlocale "${CURL_INCLUDES}" HAVE_SETLOCALE) check_symbol_exists(setmode "${CURL_INCLUDES}" HAVE_SETMODE) -- cgit v1.2.3