Skip to content

v0.2.99-20220329: build: fix getting cmake_c_compiler from cache

Latest
Compare
Choose a tag to compare
@dcpleung dcpleung released this 29 Mar 21:24
CMakeCache.txt is showing CMAKE_C_COMPILER as a STRING instead of
FILEPATH the first time that we build from plugin. When plugin retrieves
cache information, it is failing to recover CMAKE_C_COMPILER, and
triggering an exception during build. Searching for STRING if FILEPATH
is not found solves the issue.

Signed-off-by: Marta Navarro <[email protected]>