X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd-power%2Fmeson.build;h=d5a3d4bb2fb99301313c8fabf25d4cc94ba0c167;hb=91342addd15fdfe47273feb784ab58c48609098a;hp=20c805436f9c0f99de1b506cb7f054be2804c951;hpb=f88e7c175a68ed451d14c1bc379fef60fea07aff;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index 20c805436f..d5a3d4bb2f 100644 --- a/examples/l3fwd-power/meson.build +++ b/examples/l3fwd-power/meson.build @@ -6,10 +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 -deps += ['power', 'timer', 'lpm', 'hash'] + +allow_experimental_apis = true +deps += ['power', 'timer', 'lpm', 'hash', 'metrics'] sources = files( 'main.c', 'perf_core.c' )