]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/vhost/meson.build
net/mlx5: add C++ include guard to public header
[dpdk.git] / drivers / net / vhost / meson.build
index 1ae4854b8fccf5ead591f79a86bb1df4bbb1f81b..f481a3a4b836105f9e22ef001f005aa7c39bf7da 100644 (file)
@@ -1,8 +1,12 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-build = dpdk_conf.has('RTE_LIB_VHOST')
-reason = 'missing dependency, DPDK vhost library'
+if is_windows
+    build = false
+    reason = 'not supported on Windows'
+    subdir_done()
+endif
+
+deps += 'vhost'
 sources = files('rte_eth_vhost.c')
 headers = files('rte_eth_vhost.h')
-deps += 'vhost'