diff options
author | Tom Jones <thj@freebsd.org> | 2024-01-30 09:26:14 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-02-18 16:03:01 +0000 |
commit | 0f7830023a11872602011535320802fd65c0b0bb (patch) | |
tree | 80d3a1932c97739deffaa8ebade33ce5b5300621 /src/vnet/CMakeLists.txt | |
parent | aaa2a89a3d927683af46793b6ad666e8ff591de9 (diff) |
vnet: Disable tuntap build on not Linux
tuntap requires porting on FreeBSD, only build on Linux for now.
Type: improvement
Change-Id: I448c462b31f3bc06f291a95d0ff5df9d6f8f24b8
Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src/vnet/CMakeLists.txt')
-rw-r--r-- | src/vnet/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index 516a5fa8108..973a6c9434b 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -1107,6 +1107,7 @@ list(APPEND VNET_API_FILES feature/feature.api) # FIXME: unix/hgshm.c +if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") list(APPEND VNET_SOURCES unix/gdb_funcs.c unix/tuntap.c @@ -1115,6 +1116,7 @@ list(APPEND VNET_SOURCES list(APPEND VNET_HEADERS unix/tuntap.h ) +endif() ############################################################################## # FIB |