On Thu, Aug 27, 2020 at 03:58:29PM -0600, Jim Fehlig wrote:
Running meson configure with '-Ddriver_hyperv=disabled' fails
with
meson.build:1252:0: ERROR: Dependency "openwsman" not found, tried
pkgconfig and cmake
openwsman is only required if the hyperv driver is enabled. Don't
check for it if hyperv is disabled.
Signed-off-by: Jim Fehlig <jfehlig(a)suse.com>
---
There are likely other ways to fix the problem, this being a meson
noobish one :-).
You are probably using some other options as well because running:
meson build -Ddriver_hyperv=disabled
will not fail if openwsman is missing. The default for openwsman is
'auto'.
Pavel