Android toolchain: fixed ccache search

pull/19/merge
Andrey Kamaev 13 years ago
parent bbbe77e05e
commit d421ec26e2
  1. 3
      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()

Loading…
Cancel
Save