X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ab450fb62de1125fbaa24d0e46c62c88323bea81..0e15d065d56be3dcaee6fb95be38d69559338b21:/cmake/Modules/FindPCAP.cmake diff --git a/cmake/Modules/FindPCAP.cmake b/cmake/Modules/FindPCAP.cmake index 3b83c7a7..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) #