FetchContent_Declare not recognized

FetchContent is a CMake module. This means that it is not available in CMake by default, you need to include it using include(FetchContent). See the examples for more details.

3 Likes