examples/vhost: fix ioat dependency
[dpdk.git] / examples / vhost / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 # meson file, for building this example as part of a main DPDK build.
5 #
6 # To build this example as a standalone application with an already-installed
7 # DPDK instance, use 'make'
8
9 if not is_linux
10         build = false
11         subdir_done()
12 endif
13
14 deps += 'vhost'
15 allow_experimental_apis = true
16 sources = files(
17         'main.c', 'virtio_net.c'
18 )
19
20 if dpdk_conf.has('RTE_RAW_IOAT')
21         deps += 'raw_ioat'
22         sources += files('ioat.c')
23 endif