examples: stop processing meson file if build impossible
[dpdk.git] / examples / vhost_crypto / meson.build
index b2c125e..403f210 100644 (file)
@@ -7,6 +7,10 @@
 # DPDK instance, use 'make'
 
 build = dpdk_conf.has('RTE_LIB_VHOST')
+if not build
+       subdir_done()
+endif
+
 allow_experimental_apis = true
 deps += ['vhost', 'cryptodev']
 sources = files(