As discussed in PlatformIO downloads subfolder - #4 by maxgerhardt.
The only solution to this is to either manually clone the library in lib
or fork the library and add a library.json
to it. You might need the latter anyways to explain build settings (macros, compiler flags, include folders, …) of this this library to PlatformIO.