How to install a static library that depends on another static library

As far as I understand when installing a static library (install(TARGETS)) and there are dependencies on other static libraries, these have to also be installed and included in the <Package>Config.cmake file. The question I would have is if there is no way around it? Is it not possible to combine and bundle the dependency’s static library witin the current project’s static library that we want to install?