diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-02-04 20:57:18 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2020-02-04 20:57:18 -0800 |
commit | d0963e4032ab61e2cc58c32b397f4d289a398a75 (patch) | |
tree | 1b5dae69cc01759b5a7d86bd0f33368a964c7416 /cmake | |
parent | 18340f4b07bedf047f971e40644b7a147dc39479 (diff) | |
download | tcpdump-d0963e4032ab61e2cc58c32b397f4d289a398a75.tar.gz |
Add a comment about how to tell this where to find pcap.
Most of the time this probably won't be an issue on UN*Xes, but it'll
probably be an issue on Windows.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/FindPCAP.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
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) # |