vcpkg/ports/libtins/find-pcap_static.patch

14 lines
374 B
Diff
Raw Normal View History

diff --git a/cmake/Modules/FindPCAP.cmake b/cmake/Modules/FindPCAP.cmake
index 388b30b..f5264c3 100644
--- a/cmake/Modules/FindPCAP.cmake
+++ b/cmake/Modules/FindPCAP.cmake
@@ -38,7 +38,7 @@ if (${CMAKE_SIZEOF_VOID_P} EQUAL 8 AND WIN32)
endif ()
find_library(PCAP_LIBRARY
- NAMES pcap wpcap
+ NAMES pcap wpcap pcap_static NAMES_PER_DIR
HINTS ${HINT_DIR}
)