Re: [PATCH] meson: Restrict Cocoa framework check to macOS

2021-01-26 Thread Paolo Bonzini
On 26/01/21 14:47, Philippe Mathieu-Daudé wrote: -cocoa = dependency('appleframeworks', modules: 'Cocoa', required: get_option('cocoa')) +cocoa = not_found +if targetos == 'darwin' + cocoa = dependency('appleframeworks', modules: 'Cocoa', required: get_option('cocoa')) +endif if cocoa.found

Re: [PATCH] meson: Restrict Cocoa framework check to macOS

2021-01-26 Thread Philippe Mathieu-Daudé
On 1/26/21 2:28 PM, Peter Maydell wrote: > On Tue, 26 Jan 2021 at 13:26, Philippe Mathieu-Daudé > wrote: >> >> Do not check for Cocoa framework if the OS is not macOS. >> >> Signed-off-by: Philippe Mathieu-Daudé >> --- >> meson.build | 5 - >> 1 file changed, 4 insertions(+), 1 deletion(-)

Re: [PATCH] meson: Restrict Cocoa framework check to macOS

2021-01-26 Thread Peter Maydell
On Tue, 26 Jan 2021 at 13:26, Philippe Mathieu-Daudé wrote: > > Do not check for Cocoa framework if the OS is not macOS. > > Signed-off-by: Philippe Mathieu-Daudé > --- > meson.build | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/meson.build b/meson.build > index 35

[PATCH] meson: Restrict Cocoa framework check to macOS

2021-01-26 Thread Philippe Mathieu-Daudé
Do not check for Cocoa framework if the OS is not macOS. Signed-off-by: Philippe Mathieu-Daudé --- meson.build | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 35a9eddf5cf..9a9ee5408b9 100644 --- a/meson.build +++ b/meson.build @@ -369,7 +36