examples: stop processing meson file if build impossible
[dpdk.git] / examples / distributor / meson.build
index 5244cd4..d8dbc23 100644 (file)
@@ -8,6 +8,9 @@
 
 # require the power library
 build = dpdk_conf.has('RTE_LIB_POWER')
+if not build
+       subdir_done()
+endif
 
 allow_experimental_apis = true
 deps += ['distributor', 'power']