qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paolo Bonzini
Subject: Re: [PATCH] meson: Restrict Cocoa framework check to macOS
Date: Tue, 26 Jan 2021 15:08:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

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() and get_option('sdl').enabled()
    error('Cocoa and SDL cannot be enabled at the same time')
  endif
What difference does this change make?
On my slow Fedora host it run cmake checks if it can build cocoa.


Can you send the meson-logs/meson-log.txt? On my machine (Meson 0.56.0) I see only

Run-time dependency appleframeworks found: NO (tried framework)

and no cmake in sight (in fact no process is spawned to do the check).

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]