network: Trial usage of external libslirp on non-Linux platforms

This commit is contained in:
RichardG867
2023-07-01 15:51:02 -03:00
parent 2009f14dbf
commit 71d95c7169
3 changed files with 3 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ set(net_sources)
list(APPEND net_sources network.c net_pcap.c net_slirp.c net_dp8390.c net_3c501.c
net_3c503.c net_ne2000.c net_pcnet.c net_wd8003.c net_plip.c net_event.c net_null.c)
option(SLIRP_EXTERNAL "Link against the system-provided libslirp library" OFF)
option(SLIRP_EXTERNAL "Link against the system-provided libslirp library" ON)
mark_as_advanced(SLIRP_EXTERNAL)
if(SLIRP_EXTERNAL)