From d421ec26e2c34912cb2d8f85e729cd226ba4fe0d Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Tue, 28 Aug 2012 13:26:57 +0400 Subject: [PATCH] Android toolchain: fixed ccache search --- android/android.toolchain.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/android.toolchain.cmake b/android/android.toolchain.cmake index 8e653a007c..47918ade58 100644 --- a/android/android.toolchain.cmake +++ b/android/android.toolchain.cmake @@ -692,8 +692,7 @@ endif() # ccache support __INIT_VARIABLE( NDK_CCACHE ENV_NDK_CCACHE ) if( NDK_CCACHE ) - get_filename_component(NDK_CCACHE "${NDK_CCACHE}" ABSOLUTE) - set( NDK_CCACHE "${NDK_CCACHE}" CACHE PATH "The path to ccache binary" FORCE ) + find_program(NDK_CCACHE "${NDK_CCACHE}" DOC "The path to ccache binary") else() unset( NDK_CCACHE ) endif()