mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-07 23:25:00 +00:00
Silence macOS OpenGL deprecation warnings
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user