Commit 9fcf466
committed
fix(cmake): point bundled JNI headers to repo-root .github/include after the llama/ move
The C++ compile failed on every native job with `fatal error: jni.h: No such
file or directory`. The bundled JNI headers live in .github/include/ at the repo
ROOT, but CMakeLists.txt now runs inside the llama/ module, so the relative
`.github/include/unix` resolved to the non-existent llama/.github/include/unix.
Anchor it to ${CMAKE_CURRENT_SOURCE_DIR}/../.github/include/{unix,windows} so it
points at the repo root regardless of build CWD. Covers Linux, macOS and Windows
(all use the bundled headers). The other CMakeLists paths use
${CMAKE_SOURCE_DIR}/… which already resolves inside llama/.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rt1paYztGJ2AKUuBuAGDXE1 parent 2d592da commit 9fcf466
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
280 | 283 | | |
281 | | - | |
| 284 | + | |
282 | 285 | | |
283 | | - | |
| 286 | + | |
284 | 287 | | |
285 | 288 | | |
286 | 289 | | |
| |||
0 commit comments