From 1262d236a33f83ffece2933da1d633a4f23793a7 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Mon, 18 Nov 2013 12:53:17 +0100 Subject: [PATCH] android build: ignore renderscript toolchain When detecting toolchains ignore renderscript because its not a compiler toolchain. --- cmake/AndroidToolchain.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/AndroidToolchain.cmake b/cmake/AndroidToolchain.cmake index f98385764..05d7574c3 100644 --- a/cmake/AndroidToolchain.cmake +++ b/cmake/AndroidToolchain.cmake @@ -639,6 +639,7 @@ if( BUILD_WITH_STANDALONE_TOOLCHAIN ) endif() macro( __GLOB_NDK_TOOLCHAINS __availableToolchainsVar __availableToolchainsLst __toolchain_subpath ) + list( REMOVE_ITEM ${__availableToolchainsLst} "renderscript" ) foreach( __toolchain ${${__availableToolchainsLst}} ) if( "${__toolchain}" MATCHES "-clang3[.][0-9]$" AND NOT EXISTS "${ANDROID_NDK_TOOLCHAINS_PATH}/${__toolchain}${__toolchain_subpath}" ) string( REGEX REPLACE "-clang3[.][0-9]$" "-4.6" __gcc_toolchain "${__toolchain}" )