examples/power: fix FreeBSD meson lib dependency
authorDavid Hunt <david.hunt@intel.com>
Fri, 12 Jul 2019 09:06:51 +0000 (10:06 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Jul 2019 09:26:55 +0000 (10:26 +0100)
commit16015fd65a5532604139d4c597e1c16027209c4e
treebc7a159569766a0cd692fc44db3d0eadf2720e6a
parent22a55d2eb6ab7a096500f757edf8bbb0715deb28
examples/power: fix FreeBSD meson lib dependency

Samples apps that depend on the power library should not build if
the power library is not present. So now the following apps will
check to see if it's built, else skip building.
* l3fwd-pwer
* vm_power_manager
* guest_cli

Fixes: e0130788576f ("examples/power: support meson/ninja build")
Fixes: 89f0711f9ddf ("examples: build some samples with meson")
Cc: stable@dpdk.org
Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
examples/l3fwd-power/meson.build
examples/vm_power_manager/guest_cli/meson.build
examples/vm_power_manager/meson.build