CMake: How to build external projects and include their targets
I think you’re mixing up two different paradigms here. As you noted, the highly flexible ExternalProject module runs its commands at build time, so you can’t make direct use of Project A’s import file since it’s only created once Project A has been installed. If you want to include Project A’s import file, you’ll have … Read more