1
0
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:
Ryan Carsten Schmidt 2023-12-14 18:46:28 -06:00
parent 778544b36e
commit bb030fc141

View File

@ -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.