FetchContent (CMake 3.11+)

    The FetchContent module has excellent documentation that I won’t try to repeat. The key ideas are:

    If you can’t use CMake 3.14+, the classic way to prepare code was:

    Now you have the CMake 3.14+ syntax in CMake 3.11+.