From a610b8488da42882870057920f24eb9571f45d1c Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Thu, 25 Jan 2024 15:28:48 -0700 Subject: [PATCH] Fix searching for libpcap installed by vcpkg --- CMakeLists.txt | 2 +- cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3952de8e96..f57e928ef0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/cmake b/cmake index 217865f599..bec5aec8a4 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 217865f599234029ae8eaecc5ee025fe0658688e +Subproject commit bec5aec8a44fbe535a845f55622e1497bd11ba31