Using libraries from a submodule of a project

Good Morning,

I want to use in one of my projects, libraries from an own library repository. So if a did some change in libraries I update library’s repository.

I create a submodule with the library repo but I don’t know how to change the path in my project to get the libraries from the submodule folder.

I tried to include in platformio.ini file, the options lib_deps or lib_extra_dirs, but that doesn’t work because in this way the libraries are copied in the directory .pio\libdeps, but if I did some changes in the libraries, the submodule doesn’t update.