Android toolchain: fixed ccache search
This commit is contained in:
parent
bbbe77e05e
commit
d421ec26e2
@ -692,8 +692,7 @@ endif()
|
|||||||
# ccache support
|
# ccache support
|
||||||
__INIT_VARIABLE( NDK_CCACHE ENV_NDK_CCACHE )
|
__INIT_VARIABLE( NDK_CCACHE ENV_NDK_CCACHE )
|
||||||
if( NDK_CCACHE )
|
if( NDK_CCACHE )
|
||||||
get_filename_component(NDK_CCACHE "${NDK_CCACHE}" ABSOLUTE)
|
find_program(NDK_CCACHE "${NDK_CCACHE}" DOC "The path to ccache binary")
|
||||||
set( NDK_CCACHE "${NDK_CCACHE}" CACHE PATH "The path to ccache binary" FORCE )
|
|
||||||
else()
|
else()
|
||||||
unset( NDK_CCACHE )
|
unset( NDK_CCACHE )
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user