Skip to content

CMake FetchContent documentation should specify GIT_SUBMODULES_RECURSE #195

@andrewkcorcoran

Description

@andrewkcorcoran

The documentation for using the library with submodules specifies that you shouldn't recurse submodules for normal consumption. The documentation for using the library with CMake FetchContent omits this detail and doesn't mention that from CMake 3.17 you can disable FetchContent submodule recursion using the GIT_SUBMODULES_RECURSE option (which will get forwarded from FetchContent to https://cmake.org/cmake/help/latest/module/ExternalProject.html#id1)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions