summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-10-10 20:36:11 +0000
committerGuy Harris <guy@alum.mit.edu>2013-10-10 20:36:11 +0000
commit260a3af9b79496330b5115437c300d40e632063c (patch)
treecad34ab32457e7579806aa6fb83c38f961d3ef1e /cmake
parent2a59ee58b8b6d42f5119d67f957b3dc76972b27d (diff)
downloadwireshark-260a3af9b79496330b5115437c300d40e632063c.tar.gz
Check for bpf_image(), just as the autoconf script does.
svn path=/trunk/; revision=52514
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindPCAP.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindPCAP.cmake b/cmake/modules/FindPCAP.cmake
index b0f1db786a..e72a5142db 100644
--- a/cmake/modules/FindPCAP.cmake
+++ b/cmake/modules/FindPCAP.cmake
@@ -68,6 +68,7 @@ check_function_exists( "pcap_get_selectable_fd" HAVE_PCAP_GET_SELECTABLE_FD )
check_function_exists( "pcap_lib_version" HAVE_PCAP_LIB_VERSION )
check_function_exists( "pcap_list_datalinks" HAVE_PCAP_LIST_DATALINKS )
check_function_exists( "pcap_set_datalink" HAVE_PCAP_SET_DATALINK )
+check_function_exists( "bpf_image" HAVE_BPF_IMAGE )
# Remote pcap checks
check_function_exists( "pcap_open" H_PCAP_OPEN )
check_function_exists( "pcap_findalldevs_ex" H_FINDALLDEVS_EX )