summary refs log tree commit diff stats
path: root/tests/qtest
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-08-28 12:03:05 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-09-07 13:32:14 +0200
commit2564dcbf510850b0de55d499a8b6c00d8730b9dd (patch)
tree416f918a682fccfdfbf249288583fc653d654e40 /tests/qtest
parentf6feb021e254054c2d50db5392c8b0dfbc932243 (diff)
downloadfocaccia-qemu-2564dcbf510850b0de55d499a8b6c00d8730b9dd.tar.gz
focaccia-qemu-2564dcbf510850b0de55d499a8b6c00d8730b9dd.zip
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>
Diffstat (limited to 'tests/qtest')
-rw-r--r--tests/qtest/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index b071d400b3..df63909ee5 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -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' ]