]> git.droids-corp.org - dpdk.git/blobdiff - examples/distributor/meson.build
net/virtio: fix kernel set features for multi-queue device
[dpdk.git] / examples / distributor / meson.build
index 8cf2ca1dae0b39e2be68aa292f5d2d034c79e861..9df59923ce71d46a12d9436c31cb6c26bfd09f82 100644 (file)
@@ -6,7 +6,14 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+# require the power library
+build = dpdk_conf.has('RTE_LIB_POWER')
+if not build
+    subdir_done()
+endif
+
+allow_experimental_apis = true
 deps += ['distributor', 'power']
 sources = files(
-       'main.c'
+        'main.c',
 )