On Fri, Aug 28, 2020 at 04:33:04PM +0200, Paolo Bonzini wrote: > Il ven 28 ago 2020, 16:14 Peter Maydell <peter.mayd...@linaro.org> ha > scritto: > > > Why is Meson trying to use CMake here? I don't think we want > > to bring in another build tool dependency... > > > > It's asking cmake if it knows about the package, if pkg-config fails. This > is because cmake has its own incompatible mechanism to tell users about > compilation and linking flags, and the "dependency" line doesn't tell Meson > if u2f-emu has a pkg-config or a cmake description.
It uses pkg-config, so we can explicitly say so. > We can ask to use pkg-config only since none of our dependencies are > cmake-only; see https://mesonbuild.com/Dependencies.html#dependency-method. I'll send a new pull with that addressed (also the other 11/18 comments). thanks, Gerd