Skip to content

Commit

Permalink
meson: Fix Cocoa framework dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Jan 7, 2025
1 parent 9b32e26 commit a9bf144
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ xemu_ss.add(files(

subdir('xui')

if 'CONFIG_DARWIN' in config_host
xemu_cocoa = dependency('appleframeworks', modules: 'Cocoa')
xemu_ss.add(xemu_cocoa)
if host_os == 'darwin'
xemu_cocoa = dependency('appleframeworks', modules: 'Cocoa')
xemu_ss.add(xemu_cocoa)
endif

if host_os == 'linux'
Expand Down

0 comments on commit a9bf144

Please sign in to comment.