mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Silence macOS OpenGL deprecation warnings
This commit is contained in:
parent
778544b36e
commit
bb030fc141
@ -143,6 +143,7 @@ env.Append(CCFLAGS = ['--std=c++17', '--std=c++1z', '-Wall', '-O2', '-DNDEBUG'])
|
||||
env.Append(LIBS = ['libz', 'pthread', 'GL'])
|
||||
|
||||
if env['PLATFORM'] == 'darwin':
|
||||
env.Append(CCFLAGS = ['-DGL_SILENCE_DEPRECATION'])
|
||||
env.Append(FRAMEWORKS = ['Accelerate'])
|
||||
|
||||
# Build target.
|
||||
|
Loading…
x
Reference in New Issue
Block a user