1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-24 17:32:55 +00:00

Link with Accelerate framework on macOS

Fixes "Undefined symbols for architecture x86_64: '_vDSP_dotpr_s1_15'"
This commit is contained in:
Ryan Carsten Schmidt 2023-12-14 18:38:52 -06:00
parent dc657bdd51
commit 778544b36e

View File

@ -142,5 +142,8 @@ env.Append(CCFLAGS = ['--std=c++17', '--std=c++1z', '-Wall', '-O2', '-DNDEBUG'])
# Add additional libraries to link against.
env.Append(LIBS = ['libz', 'pthread', 'GL'])
if env['PLATFORM'] == 'darwin':
env.Append(FRAMEWORKS = ['Accelerate'])
# Build target.
env.Program(target = 'clksignal', source = SOURCES)