fetch()

fetch()

The fetch() command is used as an advanced wrapper around theFetchContent module included with CMake. fetch() takes a special dependency variable reference, which is in the form of<PROVIDER>{<name|recipe>,<options:...>}. The exact syntax of both recipe and options is different based on the given PROVIDER. In some cases, a recipe cannot be used, and only a name may be given

The currently available fetch() providers are: