X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd-power%2Fmeson.build;h=d5a3d4bb2fb99301313c8fabf25d4cc94ba0c167;hb=b86ba6aa12a529e08d96bf8d7644725c800af6ca;hp=2c84123b658adffc4f70a779b2227a37cafc1da0;hpb=adf93ca564c73183e1c705cd7f35b98f3a660228;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index 2c84123b65..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 not is_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' )