1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-24 06:10:28 +00:00
Files
open-simh.simh/cmake/FindPCAP.cmake
Dan Cross 0e985346b1 FreeBSD: link against libpcap
On FreeBSD, one must actually link against libpcap
(or give the path to a shared object at link
time).  That is, it is not a header-only library
on that platform.

Account for this by adding a new boolean variable
in `platform-quirks.cmake`: `NEED_PCAP_LIBRARY`,
which defaults to false.  Condition pcap library
discovery and link argument modifications on that
variable in `FindPCAP.cmake` and `dep-link.cmake`.
2026-05-03 14:19:02 -04:00

2.2 KiB