distributor: skip building if power library not found
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 9 Apr 2019 10:55:37 +0000 (11:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Apr 2019 16:09:53 +0000 (18:09 +0200)
commit9d03815f56876f16997bc7136029842903ee842b
tree384b47bc717cb8570c4df6aa3cee13f64ac1f3b2
parentadf93ca564c73183e1c705cd7f35b98f3a660228
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>
examples/distributor/meson.build