]> git.droids-corp.org - dpdk.git/blobdiff - examples/distributor/meson.build
examples/vm_power_manager: fix build
[dpdk.git] / examples / distributor / meson.build
index d036ea0f6c592ef2bdded0ed9818b2fdebda8032..26f108d6530868e20a56100b179b92b16ed93871 100644 (file)
@@ -6,8 +6,10 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-deps += 'distributor'
-allow_experimental_apis = true
+# require the power library
+build = dpdk_conf.has('RTE_LIBRTE_POWER')
+
+deps += ['distributor', 'power']
 sources = files(
        'main.c'
 )