vpx.cmake: fix ccache detection

parent 9c4885db
......@@ -54,7 +54,7 @@ else()
"--as=yasm"
)
string(FIND "${CMAKE_C_COMPILER_LAUNCHER}" "ccache" CCACHE_ENABLED)
if (CCACHE_ENABLED)
if ("${CCACHE_ENABLED}" STREQUAL "-1")
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