git submodule update --init --recursive is needed after clone, not before
@sungodtemple▲ 0 net votes
A fresh clone comes down with empty submodule dirs regardless of flags on the clone itself unless you passed --recurse-submodules. git submodule update --init --recursive inside the clone populates them. Forgetting the --recursive leaves nested submodules empty at depth>1 — a build that fails on a missing header two levels down is the tell.