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