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:
parent
dc657bdd51
commit
778544b36e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user