summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2017-05-11 18:02:06 +0000
committerJörg Mayer <jmayer@loplof.de>2017-05-11 18:09:04 +0000
commit8cd1fd0c993df904596390ebdf350259e7c9c5fc (patch)
tree784ff039da0b1b268e7c117e0eac655cb0f05cc0 /cmake
parent129bdb5a164a6386c35ff387e9d8f0d3d6a12dbf (diff)
downloadwireshark-8cd1fd0c993df904596390ebdf350259e7c9c5fc.tar.gz
Revert "Get rid of HAVE_REMOTE."
This reverts commit d13b8ea13cf708a7770e7f51912ce16d0b43e459. This will only work with git HEAD of libpcap, but not with any release versions of libpcap or winpcap (the *pcap includes require the define, not Wireshark). Change-Id: I08e5ec66e3642dc02f793c83ffc4363bb348202c Reviewed-on: https://code.wireshark.org/review/21603 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
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 508d46b3a7..85053abff4 100644
--- a/cmake/modules/FindPCAP.cmake
+++ b/cmake/modules/FindPCAP.cmake
@@ -89,6 +89,7 @@ if( PCAP_FOUND )
check_function_exists( "pcap_open" HAVE_PCAP_OPEN )
if( HAVE_PCAP_OPEN )
set( HAVE_PCAP_REMOTE 1 )
+ set( HAVE_REMOTE 1 )
endif()
cmake_pop_check_state()