Skip to content

Commit 2cc8648

Browse files
committed
Add new NDK versions to android.toolchain.cmake
* Added r12b, r12, r11c, r11b, r11, r10e. * This just means if the NDK is in one of the auto-search locations you won't have to set the ANDROID_NDK environment variable.
1 parent 711860b commit 2cc8648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/android.toolchain.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ set( CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "" )
216216
set( CMAKE_SKIP_RPATH TRUE CACHE BOOL "If set, runtime paths are not added when using shared libraries." )
217217

218218
# NDK search paths
219-
set( ANDROID_SUPPORTED_NDK_VERSIONS ${ANDROID_EXTRA_NDK_VERSIONS} -r10d -r10c -r10b -r10 -r9d -r9c -r9b -r9 -r8e -r8d -r8c -r8b -r8 -r7c -r7b -r7 -r6b -r6 -r5c -r5b -r5 "" )
219+
set( ANDROID_SUPPORTED_NDK_VERSIONS ${ANDROID_EXTRA_NDK_VERSIONS} -r12b -r12 -r11c -r11b -r11 -r10e -r10d -r10c -r10b -r10 -r9d -r9c -r9b -r9 -r8e -r8d -r8c -r8b -r8 -r7c -r7b -r7 -r6b -r6 -r5c -r5b -r5 "" )
220220
if( NOT DEFINED ANDROID_NDK_SEARCH_PATHS )
221221
if( CMAKE_HOST_WIN32 )
222222
file( TO_CMAKE_PATH "$ENV{PROGRAMFILES}" ANDROID_NDK_SEARCH_PATHS )

0 commit comments

Comments
 (0)