vpx.cmake: fix ccache detection when CMAKE_<LANG>_COMPILER_LAUNCHER is set to ccache's fullpath

parent 54c731ce
......@@ -53,7 +53,8 @@ else()
"--disable-unit-tests"
"--as=yasm"
)
if(CMAKE_C_COMPILER_LAUNCHER STREQUAL "ccache")
string(FIND "${CMAKE_C_COMPILER_LAUNCHER}" "ccache" CCACHE_ENABLED)
if (CCACHE_ENABLED)
list(APPEND EP_vpx_CONFIGURE_OPTIONS "--enable-ccache")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment