[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/15] meson: do not unnecessarily use cmake for dependencies
From: |
Paolo Bonzini |
Subject: |
[PATCH 01/15] meson: do not unnecessarily use cmake for dependencies |
Date: |
Sat, 2 Sep 2023 14:59:20 +0200 |
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>
---
tests/migration/meson.build | 2 +-
tests/qtest/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/migration/meson.build b/tests/migration/meson.build
index ac71f132901..a91aa61c659 100644
--- a/tests/migration/meson.build
+++ b/tests/migration/meson.build
@@ -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)
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index b071d400b37..df63909ee51 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' ]
--
2.41.0
- [PATCH v2 00/15] configure cleanups for QEMU 8.2, Paolo Bonzini, 2023/09/02
- [PATCH 01/15] meson: do not unnecessarily use cmake for dependencies,
Paolo Bonzini <=
- [PATCH 02/15] meson: update unsupported host/CPU messages, Paolo Bonzini, 2023/09/02
- [PATCH 03/15] configure: remove HOST_CC, Paolo Bonzini, 2023/09/02
- [PATCH 04/15] configure: create native file with contents of $host_cc, Paolo Bonzini, 2023/09/02
- [PATCH 05/15] meson: compile bundled device trees, Paolo Bonzini, 2023/09/02
- [PATCH 06/15] configure: remove boolean variables for targets, Paolo Bonzini, 2023/09/02
- [PATCH 07/15] configure: move --enable-debug-tcg to meson, Paolo Bonzini, 2023/09/02