You can handle this more easily:
Simply put the libraries relative to your projects and use lib_deps
in combination with symlink
. It’s just a matter of how you organize things. Take a look at this: Platformio ignores dependencies of local library - #2 by sivar2311