‘find_package’ been doing it some time ago. Got troubles with security issues. Don’t want to propagate some libraries to the whole system. In some situation it’s the policy (DevOps or Security requirements for automated builds. Another one physical source require another one security procedure. It could be very expensive if library is big or used many libraries in the one project or projects. There are kind of the same issue when propagate library with ‘find_package’ for system wide use. Have some real ‘paranoya’ requirements against ‘Supply chain atack’). Building application is only one step in procedure of releasing application. There are a lot of requirements beside ‘make-me-application’. There a lot of ‘how-application-must-be-making’ and in many cases it’s totally opposite of common way.
‘target_sources’ was in my experiments. In a few days going to publish another one example.
And again SUPER-MEGA-HUGE Thanks for assistance.