37e2800939
Merge pull request #869 from drinkcat/cmake_find_root_fix
...
*/Toolchain.cmake: Set CMAKE_FIND_ROOT_PATH_LIBRARY/INCLUDE to ONLY
2025-02-27 13:45:24 -05:00
4a4babf7fa
Add rust support to android-x86
2025-02-25 23:21:10 +01: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
587282459f
Set Android ndk api back to 23 (Android 6.0)
2022-09-24 13:48:50 +02:00
e88a3ceab3
Update android ndk to r25b and api to 33
2022-09-06 15:55:20 +02:00
ad924d922b
Improve openSSL on android-* image
...
Improve openSSL on android-* image
Signed-off-by: Bensuperpc <bensuperpc@gmail.com >
2021-08-27 13:19:31 +02:00
8bc72c75d3
Add ANDROID_NDK_HOME env variable and enable openssl
...
Add ANDROID_NDK_HOME env variable and enable openssl
Signed-off-by: Bensuperpc <bensuperpc@gmail.com >
2021-08-27 13:13:48 +02:00
19322baed2
Move to llvm for NDK 23
2021-08-26 12:16:31 +02:00
dd60bbb440
Fix wrong url
...
Fix wrong url
Signed-off-by: Bensuperpc <bensuperpc@gmail.com >
2021-08-21 22:54:17 +02:00
8c081be13b
Update android NDK to r23 (August 2021)
...
Update android NDK to r23 (August 2021)
Signed-off-by: Bensuperpc <bensuperpc@gmail.com >
2021-08-21 20:48:52 +02:00
5663ada809
Use env variable instead hardcoded variable in toolchain.cmake
...
Use env variable instead hardcoded variable in toolchain.cmake
Signed-off-by: Bensuperpc <bensuperpc@gmail.com >
2021-08-12 21:38:43 +02:00
8469056c36
Merge pull request #479 from dockcross/update-android-ndk
...
Update Android NDK to latest stable: 22b
2021-04-17 17:44:53 -06:00
7c1413a496
Define CMAKE_SYSTEM_PROCESSOR in Toolchain.cmake for Android build.
2021-04-07 10:47:37 +02:00
894f712305
Update Android NDK to latest stable: 22b
2021-04-07 10:45:33 +02:00
e9b6053f5d
Add android-x86 image
2021-01-12 10:21:33 +01:00