small opencl build fix on osx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4722 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator 2009-12-23 09:11:12 +00:00
parent fa19e7f299
commit acef487f8a

View File

@ -60,6 +60,8 @@ if sys.platform == 'darwin':
files += [ 'cocoaGL.m', ]
conf.CheckPKG('OpenGL')
if gfxenv['HAVE_OPENCL']:
gfxenv['FRAMEWORKS'] += ['OpenCL']
elif sys.platform == 'win32':
print name + " is assuming that you have opengl, glu, cg, and cggl"