Commit Graph

11 Commits

Author SHA1 Message Date
69c4db9338 */Toolchain.cmake: Set CMAKE_FIND_ROOT_PATH_LIBRARY/INCLUDE to ONLY
For some reason, the default setting in all Toolchain.cmake
is:
```
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
```

For cross-compilation, CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
makes sense (we only want to find executables in host system root),
but CMAKE_FIND_ROOT_PATH_MODE_LIBRARY/INCLUDE should be set
to ONLY, otherwise cmake may find libraries in host system root,
and try to link with incompatible libraries (instead of
cross-compilation sysroot).

Fixes #431.
2025-02-25 16:14:39 +01:00
54ee1fddbc doc: update Matt McCormick email 2024-11-08 17:11:12 -05:00
0b5e4fbf2e Fix incorrect example in CONTRIBUTING.md 2024-04-11 16:10:15 +08:00
fa87501f12 spelling fixes. 2024-02-07 11:43:42 +01:00
0d31400b97 Support for building images locally 2022-12-16 16:07:56 +01:00
811f724677 Merge branch 'master' into master 2022-05-19 12:36:30 +02:00
0fc1c34f29 Update CONTRIBUTING.md and README.md
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2022-05-18 14:48:03 +02:00
5c503e0132 Merge branch 'master' into master 2022-05-18 14:00:51 +02:00
c28a4a6540 Imported upstream changes; minor edits to @bensuperpc CONTRIBUTING.md 2022-05-18 13:51:50 +02:00
6791b57fa4 Update CONTRIBUTING.md 2022-05-16 00:15:10 +02:00
4a768c052c Add CONTRIBUTING.md
Add CONTRIBUTING.md

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2022-05-13 15:44:28 +02:00