X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd-power%2Fmeson.build;h=d5a3d4bb2fb99301313c8fabf25d4cc94ba0c167;hb=ebaee64097027be82f2bdfbbf148a34f94f2b280;hp=b38a7a0d758ffbfe3ea01391020a7955dd09a573;hpb=609e79841fcf981b0bc863f03985569397a49d53;p=dpdk.git diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build index b38a7a0d75..d5a3d4bb2f 100644 --- a/examples/l3fwd-power/meson.build +++ b/examples/l3fwd-power/meson.build @@ -6,9 +6,11 @@ # 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', 'metrics'] sources = files(