diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-04-29 12:06:34 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-04-29 12:06:34 -0700 |
commit | d33ba72b2d6eb207e62017cb3c1dfb8618d84f98 (patch) | |
tree | 0ac819a8892098ed91c388abde5d7dcb99c07e48 /cmake | |
parent | 87207f2b1aeb08fd2b2365d22811b06d6c5724f2 (diff) | |
download | tcpdump-d33ba72b2d6eb207e62017cb3c1dfb8618d84f98.tar.gz |
To search for a library under multiple names, say "NAMES name1 name2 ...".
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/FindPCAP.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindPCAP.cmake b/cmake/Modules/FindPCAP.cmake index 6b0fbb6e..855db651 100644 --- a/cmake/Modules/FindPCAP.cmake +++ b/cmake/Modules/FindPCAP.cmake @@ -36,7 +36,7 @@ if(WIN32) # set(CMAKE_LIBRARY_ARCHITECTURE "x64") endif() - find_library(PCAP_LIBRARY pcap wpcap) + find_library(PCAP_LIBRARY NAMES pcap wpcap) # # Do the standard arg processing, including failing if it's a |