X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd-power%2Fmeson.build;h=d5a3d4bb2fb99301313c8fabf25d4cc94ba0c167;hb=3ca2214f1e39ac24c74beab8ab9c02da355e530c;hp=a3c5c2f14fef1eab4f494079ee8a8ca5f300e6c1;hpb=a137d012a0dd7be982367687ea6cd10de6f12c69;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index a3c5c2f14f..d5a3d4bb2f 100644 --- a/examples/l3fwd-power/meson.build +++ b/examples/l3fwd-power/meson.build @@ -6,11 +6,13 @@ # To build this example as a standalone application with an already-installed # DPDK instance, use 'make' -if host_machine.system() != 'linux' - build = false +if not dpdk_conf.has('RTE_LIBRTE_POWER') + build = false + subdir_done() endif + allow_experimental_apis = true -deps += ['power', 'timer', 'lpm', 'hash'] +deps += ['power', 'timer', 'lpm', 'hash', 'metrics'] sources = files( 'main.c', 'perf_core.c' )