numam-dpdk/examples/distributor/meson.build
Bruce Richardson 9d03815f56 distributor: skip building if power library not found
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>
2019-04-17 18:09:53 +02:00

16 lines
391 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
# meson file, for building this example as part of a main DPDK build.
#
# 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'
)