Boost logo

Boost :

Subject: Re: [boost] Boost tests with cmake
From: Peter Dimov (lists_at_[hidden])
Date: 2017-07-29 14:58:13


> 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk