Restore FreeBSD stuff that was removed accidentally

This commit is contained in:
TC1995
2025-09-03 00:53:26 +02:00
parent 7e490d5340
commit 5618dba9d1

View File

@@ -70,6 +70,9 @@ if(NETSWITCH)
endif()
if (UNIX)
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
set_source_files_properties(net_slirp.c PROPERTIES COMPILE_FLAGS "-I/usr/local/include")
endif()
find_path(HAS_VDE "libvdeplug.h" PATHS ${VDE_INCLUDE_DIR} "/usr/include /usr/local/include" "/opt/homebrew/include" )
if(HAS_VDE)
find_library(VDE_LIB vdeplug)