network: Trial usage of external libslirp on non-Linux platforms
This commit is contained in:
@@ -13,4 +13,5 @@ qt5
|
||||
wget
|
||||
fluidsynth
|
||||
ghostscript
|
||||
libslirp
|
||||
vde2
|
||||
|
@@ -8,5 +8,6 @@ SDL2
|
||||
zlib
|
||||
libpng
|
||||
rtmidi
|
||||
libslirp
|
||||
qt5-static
|
||||
qt5-translations
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user