mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix Compiling in OSX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4523 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -40,8 +40,9 @@ files += [
|
||||
'main.cpp',
|
||||
'GLUtil.cpp',
|
||||
]
|
||||
if gfxenv['HAVE_OPENCL']:
|
||||
libs += [ 'OpenCL']
|
||||
if sys.platform != 'darwin':
|
||||
if gfxenv['HAVE_OPENCL']:
|
||||
libs += [ 'OpenCL']
|
||||
if gfxenv['HAVE_WX']:
|
||||
files += [
|
||||
'GUI/ConfigDlg.cpp',
|
||||
@ -63,6 +64,8 @@ conf = gfxenv.Configure(custom_tests = tests,
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
gfxenv['FRAMEWORKS'] = ['CoreFoundation', 'System', 'OpenGL', 'Cocoa', 'Cg']
|
||||
if gfxenv['HAVE_OPENCL']:
|
||||
gfxenv['FRAMEWORKS'] += ['OpenCL']
|
||||
|
||||
conf.CheckPKG('OpenGL')
|
||||
if not conf.CheckPKG('Cg'):
|
||||
|
Reference in New Issue
Block a user