Unable to include a library with sub-module

In platform.ini

lib_deps =
            https://github.com/<LibraryName>.git#commitHash

The library contains sub-modules inside it. But the build fails. My doubt is whether the submodules in the library are being downloaded or not. I am not interested in creating a separate folder and cloning the library and building it. This method actually works but I wish to do it from the platform.ini file. Thanks.!

Hvae you confirmed this by looking at what’s downloaded in .pio\libdeps\<env name>? Is that library folder really missing its submodules or is the build misconfigured through the e.g. library.json.