mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix libpcap usage
This commit is contained in:
parent
f500c4faf4
commit
1b3719cf29
1 changed files with 7 additions and 7 deletions
|
@ -71,11 +71,11 @@ if ( MSVC )
|
||||||
SETTINGS ${settings})
|
SETTINGS ${settings})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Set LibPCAP to point to wpcap binaries.
|
# Set LibPCAP to point to libpcap binaries.
|
||||||
find_package(npcap-wpcap)
|
find_package(libpcap)
|
||||||
set(PCAP_ROOT_DIR "${npcap-wpcap_LIB_DIRS}/../")
|
set(PCAP_ROOT_DIR "${libpcap_LIB_DIRS}/../")
|
||||||
set(PCAP_INCLUDE_DIR ${npcap-wpcap_INCLUDES})
|
set(PCAP_INCLUDE_DIR ${libpcap_INCLUDES})
|
||||||
set(PCAP_LIBRARY ${npcap-wpcap_LIBS})
|
set(PCAP_LIBRARY ${libpcap_LIBS})
|
||||||
set(LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER false)
|
set(LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER false)
|
||||||
|
|
||||||
# Set ZLib to point at the right variable.
|
# Set ZLib to point at the right variable.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue