taka-no-me / android-cmake

CMake toolchain file and other scripts for the Android NDK
1.22k stars 438 forks source link

properly set up the sysroot for e.g. check_headers #73

Open mgerhardy opened 8 years ago

mgerhardy commented 8 years ago

without this, cmake wasn't able to find any header for me, it got unresolved linker problems with the non-standalone toolchain:

all of the above mentioned issues are fixed by this.

mgerhardy commented 8 years ago

this might also fix it: https://github.com/dreifachstein/android-cmake/commit/785c889dd5871204b7f4dc8c0f52970f2359b809

but this patch should also work find on older cmake versions.

mgerhardy commented 8 years ago

link #70

mgerhardy commented 8 years ago

70 doesn't fix the problem for me alone - both patches in combination worked though.