Skip to content

Commit

Permalink
meson: do not unnecessarily use cmake for dependencies
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bonzini committed Sep 7, 2023
1 parent f6feb02 commit 2564dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/migration/meson.build
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion tests/qtest/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]
Expand Down

0 comments on commit 2564dcb

Please sign in to comment.