No CMAKE_C_COMPILER could be found

It looks like an SDK component or similar is missing. Unless a link works outside CMake, that’s what I’d look at.