examples: stop processing meson file if build impossible
[dpdk.git] / examples / performance-thread / pthread_shim / meson.build
index 26ef786..d499799 100644 (file)
@@ -7,6 +7,10 @@
 # DPDK instance, use 'make'
 
 build = dpdk_conf.has('RTE_ARCH_X86_64') or dpdk_conf.has('RTE_ARCH_ARM64')
+if not build
+       subdir_done()
+endif
+
 deps += ['timer']
 allow_experimental_apis = true