29 Jul
2017
29 Jul
'17
2:58 p.m.
Error-prone comes from find_package in boost_foo finding the system package boost_bar because you haven't installed the libraries in the correct order.
This of course assumes that there _is_ a correct order, which is not the case with circular dependencies. The reason depinst.py, for instance, is not bothered by the circular dependencies is that it doesn't download - build - install one by one; it just downloads, so order doesn't matter. Once everything is in place, you could then build and install. But in this scenario, libraries don't need to find_package each other, they know they are siblings.