[PATCH] meson: Only check for openwsman if hyperv is enabled
Pavel Hrdina
phrdina at redhat.com
Fri Aug 28 08:00:20 UTC 2020
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200828/670cca6f/attachment-0001.sig>
More information about the libvir-list
mailing list