Have you recreated the CMakeCache.txt? Could you try running the command in a completely new environment, but with PCAP_HINTS set to /usr/local for the first run?
It seems that cmake/modules/FindPCAP.cmake just does not take PCAP_HINTS and most likely with cmake that's because it has already stored a value for that internally. So clearing the cache would do the trick.
cheers
Roland
Hi folks,
I am not having much luck getting cmake to look in the right place for
the library.
I have set PCAP_HINTS to /usr/local and cmake is finding the include
files, but not the correct libraries ...
----------------------
-- Looking for pcap_set_tstamp_type - found
-- Looking for pcap_open
-- Looking for pcap_open - not found
-- PCAP FOUND
-- PCAP includes: /usr/local/include
-- PCAP libs: /lib64/libpcap.so # This is not what I want.
----------------------
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe