1
0
mirror of https://gitlab.com/qemu-project/qemu synced 2024-07-03 08:19:15 +00:00

meson: do not unnecessarily use cmake for dependencies

Both gvnc and sysprof-capture come with pkg-config files, so specify
the method to find them.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2023-08-28 12:03:05 +02:00
parent f6feb021e2
commit 2564dcbf51
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
sysprof = dependency('sysprof-capture-4', required: false)
sysprof = dependency('sysprof-capture-4', method: 'pkg-config', required: false)
glib_static = dependency('glib-2.0', version: glib_req_ver, required: false,
method: 'pkg-config', static: true)

View File

@ -321,7 +321,7 @@ qtests = {
}
if vnc.found()
gvnc = dependency('gvnc-1.0', required: false)
gvnc = dependency('gvnc-1.0', method: 'pkg-config', required: false)
if gvnc.found()
qtests += {'vnc-display-test': [gvnc]}
qtests_generic += [ 'vnc-display-test' ]