Commit af66b77
🔧 fix(build): set macOS deployment target to 10.15 for llama-cpp-sys-2
llama-cpp-sys-2 uses std::filesystem::path which requires macOS 10.15+.
The default CMake target was 10.13, causing C++ compilation failures.
Export both MACOSX_DEPLOYMENT_TARGET and CMAKE_OSX_DEPLOYMENT_TARGET
before cargo tauri build to ensure the C++ dependency compiles correctly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d61733b commit af66b77
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
0 commit comments