mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-04-06 14:34:01 +08:00
tools: fix darwin compile errors (#37399)
This commit is contained in:
committed by
GitHub
parent
72ecc330e2
commit
238fca2334
@@ -77,6 +77,9 @@ else:
|
||||
qt_libs = base_libs
|
||||
|
||||
cabana_env = qt_env.Clone()
|
||||
if arch == "Darwin":
|
||||
cabana_env['CPPPATH'] += [f"{brew_prefix}/include"]
|
||||
cabana_env['LIBPATH'] += [f"{brew_prefix}/lib"]
|
||||
|
||||
cabana_libs = [cereal, messaging, visionipc, replay_lib, 'avformat', 'avcodec', 'swresample', 'avutil', 'x264', 'z', 'zstd', 'curl', 'yuv', 'usb-1.0'] + qt_libs
|
||||
opendbc_path = '-DOPENDBC_FILE_PATH=\'"%s"\'' % (cabana_env.Dir("../../opendbc/dbc").abspath)
|
||||
|
||||
Reference in New Issue
Block a user