X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvm_power_manager%2Fguest_cli%2Fmeson.build;h=8c725420d7dc994eb71c7eef047b13788345c812;hb=ac882a0eda6950f58271ee507b46f1a0a7ff9672;hp=9e821ceb803fca2743e25e735d4021e6e557714f;hpb=e0130788576fb85039f5c491b82575a0190f5d4b;p=dpdk.git diff --git a/examples/vm_power_manager/guest_cli/meson.build b/examples/vm_power_manager/guest_cli/meson.build index 9e821ceb80..8c725420d7 100644 --- a/examples/vm_power_manager/guest_cli/meson.build +++ b/examples/vm_power_manager/guest_cli/meson.build @@ -6,9 +6,10 @@ # To build this example as a standalone application with an already-installed # DPDK instance, use 'make' -# Setting the name here because the default name will conflict with the -# vm_power_manager app because of the way the directories are parsed. -name = 'guest_cli' +if not dpdk_conf.has('RTE_LIBRTE_POWER') + build = false + subdir_done() +endif deps += ['power'] @@ -16,6 +17,8 @@ sources = files( 'main.c', 'parse.c', 'vm_power_cli_guest.c' ) +allow_experimental_apis = true + opt_dep = cc.find_library('virt', required : false) build = opt_dep.found() ext_deps += opt_dep