CMake FetchContent

CMake FetchContent module allows to download and build dependencies at configure time, without the need for separate installation steps. FetchContent wraps ExternalProject, putting variables in the current CMakeLists.txt scope, and allowing to use the dependency’s targets directly.

2026

2025

2024

2023

2022

2021