If you are using Meson Build as your library build system, you can use the Meson build helper.
This helper have
.build() methods available to ease the call to meson build system.
It also will take automatically the
pc files of your dependencies when using the pkg_config
Check Building with Meson Build for more info.