CMake Error include could not find load file: FetchContent

CMake Error include could not find load file:
FetchContent

原因是cmake版本太低,出问题的版本3.10,换成更高版本即可,我换的3.22.1
升级cmake请参考这篇文章
添加链接描述

你可能感兴趣的:(c++)