scons: Fix GLEW build on Mac OS X.

This commit is contained in:
Vinson Lee 2010-01-28 01:19:53 -08:00
parent 5dcc088bf1
commit 8f81769148
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ prog_env = env.Clone()
prog_env.Prepend(LIBS = [glew])
if prog_env['platform'] == 'darwin':
prog_env.Append(FRAMEWORKS = ['AGL'])
prog_env.Program(
target = 'glewinfo',
source = ['glewinfo.c'],