mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-09 20:25:19 +00:00
Link with Accelerate framework on macOS
Fixes "Undefined symbols for architecture x86_64: '_vDSP_dotpr_s1_15'"
This commit is contained in:
@@ -142,5 +142,8 @@ env.Append(CCFLAGS = ['--std=c++17', '--std=c++1z', '-Wall', '-O2', '-DNDEBUG'])
|
|||||||
# Add additional libraries to link against.
|
# Add additional libraries to link against.
|
||||||
env.Append(LIBS = ['libz', 'pthread', 'GL'])
|
env.Append(LIBS = ['libz', 'pthread', 'GL'])
|
||||||
|
|
||||||
|
if env['PLATFORM'] == 'darwin':
|
||||||
|
env.Append(FRAMEWORKS = ['Accelerate'])
|
||||||
|
|
||||||
# Build target.
|
# Build target.
|
||||||
env.Program(target = 'clksignal', source = SOURCES)
|
env.Program(target = 'clksignal', source = SOURCES)
|
||||||
|
Reference in New Issue
Block a user