Commit Graph

11 Commits

Author SHA1 Message Date
83766c341d Add CMAKE_PREFIX_PATH to CMAKE_FIND_ROOT_PATH 2025-03-09 01:43:04 +01:00
49d9ab4342 COMP: Remove docker build warning
- LegacyKeyValueFormat: "ENV key=value" should be used
  instead of legacy "ENV key value" format (line 42)

"""
The new format for declaring environment variables in Dockerfiles is ENV
key=value. This format, where the key and value are separated by an
equals sign (=), is the recommended approach. The older format, ENV key
value (with a space as a separator), is deprecated.
""" -- google search
2025-03-02 09:28:39 -06:00
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
3d89c301e3 Fix CMAKE_SYSTEM_NAME variable in windows-arm* toolchains to correctly indicate target platform
Resolves #790
2023-08-06 12:01:05 +02:00
0d31400b97 Support for building images locally 2022-12-16 16:07:56 +01:00
e5cb29c74f Update Windows ARM
Update windows ARM

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2022-05-20 10:04:04 +02:00
f888b7de0b Replace deprecated label 'MAINTAINER' by 'LABEL maintainer'
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-04 12:51:28 +02:00
434877cfe1 Remove cpp, allow gcc -E fallback
Also switches to using mingw-w64 "familiar" suffixes
2021-08-11 15:48:36 -04:00
526cab12a8 Add windows-armv7
Add windows-armv7

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-11 01:12:48 +02:00
92102d9138 Add windows-arm64
Add windows-arm64

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-11 01:07:37 +02:00