X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f57a25811d58a7fea5b3c296e010c82f258bd336..refs/heads/mcr-macro-update-1:/cmake/Modules/FindPCAP.cmake diff --git a/cmake/Modules/FindPCAP.cmake b/cmake/Modules/FindPCAP.cmake index 35b9244f..64d0901d 100644 --- a/cmake/Modules/FindPCAP.cmake +++ b/cmake/Modules/FindPCAP.cmake @@ -1,6 +1,12 @@ # # Try to find libpcap. # +# To tell this module where to look, a user may set the environment variable +# PCAP_ROOT to point cmake to the *root* of a directory with include and +# lib subdirectories for pcap.dll (e.g WpdPack or npcap-sdk). +# Alternatively, PCAP_ROOT may also be set from cmake command line or GUI +# (e.g cmake -DPCAP_ROOT=C:\path\to\pcap [...]) +# if(WIN32) # @@ -135,7 +141,7 @@ else(WIN32) endif() endif() endforeach() - + # # Now, get the library directories and libraries for dynamic linking. #