diff options
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 32255401654..516a5fa8108 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -995,6 +995,7 @@ list(APPEND VNET_API_FILES # tap interface (with virtio backend) ############################################################################## +if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") list(APPEND VNET_SOURCES devices/tap/cli.c devices/tap/tap.c @@ -1008,6 +1009,7 @@ list(APPEND VNET_HEADERS list(APPEND VNET_API_FILES devices/tap/tapv2.api ) +endif() ############################################################################## # tap interface (with virtio backend) |