From ebc80896298ff1b2b3962e9fb9e599e6a3caa3f5 Mon Sep 17 00:00:00 2001 From: sh1r0 Date: Thu, 18 Jun 2015 15:35:54 +0800 Subject: [PATCH] added ADDITIONAL_FIND_PATH support --- android.toolchain.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android.toolchain.cmake b/android.toolchain.cmake index ffa2612..0d98abb 100644 --- a/android.toolchain.cmake +++ b/android.toolchain.cmake @@ -1523,7 +1523,7 @@ set( ANDROID True ) set( BUILD_ANDROID True ) # where is the target environment -set( CMAKE_FIND_ROOT_PATH "${ANDROID_TOOLCHAIN_ROOT}/bin" "${ANDROID_TOOLCHAIN_ROOT}/${ANDROID_TOOLCHAIN_MACHINE_NAME}" "${ANDROID_SYSROOT}" "${CMAKE_INSTALL_PREFIX}" "${CMAKE_INSTALL_PREFIX}/share" ) +set( CMAKE_FIND_ROOT_PATH "${ANDROID_TOOLCHAIN_ROOT}/bin" "${ANDROID_TOOLCHAIN_ROOT}/${ANDROID_TOOLCHAIN_MACHINE_NAME}" "${ANDROID_SYSROOT}" "${CMAKE_INSTALL_PREFIX}" "${CMAKE_INSTALL_PREFIX}/share" "${ADDITIONAL_FIND_PATH}" ) # only search for libraries and includes in the ndk toolchain set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY )