mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Android toolchain: fixed ccache search
This commit is contained in:
parent
bbbe77e05e
commit
d421ec26e2
@ -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…
Reference in New Issue
Block a user