The power library is not built on non-Linux systems, so skip the
distributor sample if it's not found, as it's a mandatory dependency.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: David Hunt <david.hunt@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
+# require the power library
+build = dpdk_conf.has('RTE_LIBRTE_POWER')
+
deps += ['distributor', 'power']
sources = files(
'main.c'