How to install(EXPORT...) in subprojects with each having same dependencies

I am seraching for a general and simple way to solve this.
Perhaps his may be interesting for you: How to install component libraries like boost?