taka-no-me / android-cmake

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

Fix an apparent typo involved in detecting toolchains. #47

Closed rpavlik closed 9 years ago

rpavlik commented 9 years ago

If availableToolchains is falsish, file( GLOB availableToolchainsLst ... won't do anything to change that, so the following if statement is always false.

I'm not sure exactly the logic that section is trying to implement or how to test it, but if nothing else I wanted to bring it up since there's a logic error of some sort there.

taka-no-me commented 9 years ago

:+1: