Commit cab5e49f authored by Hanspeter Portner's avatar Hanspeter Portner

meson: fix darwin.

parent 817b9886
Pipeline #35929556 failed with stages
in 3 minutes and 1 second
......@@ -231,12 +231,11 @@ if build_opengl_ui or build_zimple_ui
ui_deps += cc.find_library('user32')
ui_srcs += 'pugl/pugl/pugl_win.cpp'
elif host_machine.system() == 'darwin'
#add_languages('objc')
add_languages('objc')
conf_data.set('UI_TYPE', 'CocoaUI')
#ui_deps += cc.find_library('Cocoa')
#ui_deps += cc.find_library('gl')
#ui_deps += dependency('appleframeworks', modules : 'cocoa')
#ui_srcs += 'pugl/pugl/pugl_osx.m'
ui_links += ['-framework', 'OpenGL']
ui_links += ['-framework', 'Cocoa']
ui_srcs += 'pugl/pugl/pugl_osx.m'
else
conf_data.set('UI_TYPE', 'X11UI')
dsp_deps += cc.find_library('rt')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment