[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 037/150] meson: add macos dependencies
From: |
Paolo Bonzini |
Subject: |
[PATCH 037/150] meson: add macos dependencies |
Date: |
Mon, 17 Aug 2020 16:35:30 +0200 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
There is no probing in configure, so no need to pass them as
variables to meson. Do a regular meson dependency() instead.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/meson.build b/meson.build
index 661f1bb4f5..34e2a7a3f5 100644
--- a/meson.build
+++ b/meson.build
@@ -46,6 +46,10 @@ m = cc.find_library('m', required: false)
util = cc.find_library('util', required: false)
socket = []
version_res = []
+coref = []
+iokit = []
+cocoa = []
+hvf = []
if host_machine.system() == 'windows'
socket = cc.find_library('ws2_32')
@@ -53,6 +57,11 @@ if host_machine.system() == 'windows'
version_res = win.compile_resources('version.rc',
depend_files:
files('pc-bios/qemu-nsis.ico'),
include_directories:
include_directories('.'))
+elif host_machine.system() == 'darwin'
+ coref = dependency('appleframeworks', modules: 'CoreFoundation')
+ iokit = dependency('appleframeworks', modules: 'IOKit')
+ cocoa = dependency('appleframeworks', modules: 'Cocoa')
+ hvf = dependency('appleframeworks', modules: 'Hypervisor')
endif
glib = declare_dependency(compile_args: config_host['GLIB_CFLAGS'].split(),
link_args: config_host['GLIB_LIBS'].split())
--
2.26.2
- [PATCH 033/150] contrib/vhost-user-input: convert to meson, (continued)
- [PATCH 033/150] contrib/vhost-user-input: convert to meson, Paolo Bonzini, 2020/08/17
- [PATCH 034/150] contrib/vhost-user-gpu: convert to meson, Paolo Bonzini, 2020/08/17
- [PATCH 035/150] contrib/ivshmem: convert to meson, Paolo Bonzini, 2020/08/17
- [PATCH 041/150] meson: add msi generation, Paolo Bonzini, 2020/08/17
- [PATCH 040/150] meson: convert vss-win32, Paolo Bonzini, 2020/08/17
- [PATCH 042/150] meson: convert dummy Windows qga/qemu-ga target, Paolo Bonzini, 2020/08/17
- [PATCH 043/150] meson: add qemu-bridge-helper, Paolo Bonzini, 2020/08/17
- [PATCH 047/150] meson: keymap-gen, Paolo Bonzini, 2020/08/17
- [PATCH 044/150] meson: add qemu-keymap, Paolo Bonzini, 2020/08/17
- [PATCH 038/150] meson: add solaris and Haiku libraries, Paolo Bonzini, 2020/08/17
- [PATCH 037/150] meson: add macos dependencies,
Paolo Bonzini <=
- [PATCH 039/150] meson: convert qemu-ga, Paolo Bonzini, 2020/08/17
- [PATCH 045/150] meson: add qemu-edid, Paolo Bonzini, 2020/08/17
- [PATCH 046/150] meson: add virtfs-proxy-helper, Paolo Bonzini, 2020/08/17
- [PATCH 052/150] meson: convert check-decodetree, Paolo Bonzini, 2020/08/17
- [PATCH 048/150] meson: generate qemu-version.h, Paolo Bonzini, 2020/08/17
- [PATCH 049/150] meson: generate shader headers, Paolo Bonzini, 2020/08/17
- [PATCH 051/150] meson: handle edk2 bios and descriptors, Paolo Bonzini, 2020/08/17
- [PATCH 050/150] meson: generate hxtool files, Paolo Bonzini, 2020/08/17
- [PATCH 054/150] meson: convert check-qapi-schema, Paolo Bonzini, 2020/08/17
- [PATCH 057/150] meson: convert crypto directory to Meson, Paolo Bonzini, 2020/08/17