From: Guy Harris Date: Fri, 15 Sep 2017 04:27:30 +0000 (-0700) Subject: Set HAVE_GETIFADDRS no matter where we found it. X-Git-Tag: libpcap-1.9-bp~698 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/3356d0cf737f1fe9b6edf8f3bcba6bf13de50e3d Set HAVE_GETIFADDRS no matter where we found it. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c1f562e9..2042b43a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -522,6 +522,7 @@ if(NOT WIN32) check_library_exists(socket getifaddrs "" SOCKET_HAS_GETIFADDRS) if(SOCKET_HAS_GETIFADDRS) set(PCAP_LINK_LIBRARIES socket ${PCAP_LINK_LIBRARIES}) + set(HAVE_GETIFADDRS) endif() endif() if(HAVE_GETIFADDRS)