FindBoost produces invalid linker order for filesystem / log combination
When using static Boost libraries, then the same problem as described in this unrelated non-cmake project appears when using the log
and filesystem
components together: https://github.com/lasote/conan-boost/issues/27
In summary, log
has an optional dependency on filesystem
and hence if both components are used, log
must appear before filesystem
in the linker call.
A work-around is to manually re-order the components within the find_package(..)
call such that log
appears before filesystem
.