meson: use pkg-config method to find dependencies
commit1a94933fcc3d641bda9988244cde61769baae2e5
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 31 Aug 2020 10:27:00 +0000 (31 06:27 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Sep 2020 12:51:35 +0000 (1 08:51 -0400)
treeacfc123515917e21fdb7c841ca33f728ca2af0ad
parent87727cb1d20ebd43dac2e0c90e72be495d0dc72f
meson: use pkg-config method to find dependencies

We do not need to ask cmake for the dependencies, so just use the
pkg-config mechanism.  Keep "auto" for SDL so that it tries using
sdl-config too.

The documentation is adjusted to use SDL2_image as the example,
rather than SDL which does not use the "pkg-config" method.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/devel/build-system.rst
meson.build