This would be a workaround to #43. I wanted to do a clean-up and a full replacement of in-build install via https://github.com/boostorg/cmake, but I faced some incompatibility: it is not offering a valid Boost::headers target (each lib has to be linked Boost::mp11, CMake complains the dependent target boost_headers is not exported, FetchContent_Declare on Windows is slow.
In absence of valid full replacement, I propose this minor change to check for system/user provided Boost first before trying to deal with it as before.
This would be a workaround to #43. I wanted to do a clean-up and a full replacement of in-build install via https://github.com/boostorg/cmake, but I faced some incompatibility: it is not offering a valid
Boost::headers
target (each lib has to be linkedBoost::mp11
, CMake complains the dependent targetboost_headers
is not exported, FetchContent_Declare on Windows is slow.In absence of valid full replacement, I propose this minor change to check for system/user provided Boost first before trying to deal with it as before.