Fix searching for libpcap installed by vcpkg

This commit is contained in:
Tim Wojtulewicz 2024-01-25 15:28:48 -07:00
parent 674816a01d
commit a610b8488d
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@ if (MSVC)
# Set PCAP_ROOT_DIR to point at the installation from vcpkg. A later call
# to FindPCAP.cmake will fill in the rest of the necessary variables.
if (NOT PCAP_ROOT_DIR)
set(PCAP_ROOT_DIR "${VCPKG_INSTALLED_DIR}")
set(PCAP_ROOT_DIR ${VCPKG_INSTALLED_DIR}/x64-windows-static)
endif ()
set(LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER false)

2
cmake

@ -1 +1 @@
Subproject commit 217865f599234029ae8eaecc5ee025fe0658688e
Subproject commit bec5aec8a44fbe535a845f55622e1497bd11ba31