Peter Dimov
Peter Dimov
> I enjoyed the ability to call my CMakeLists.txt an unofficial configuration and that I could stick any rubbish in it I desired without worrying I could break anything Boost-wide....
No, this will pick up much more than I'd have liked. I think I'll just hardcode Andrey's line as-is.
Yeah, I can't in good conscience hold others responsible for not reading the document I'm writing for more than a year now and haven't yet published. :-/ But in short,...
No, CMAKE_SYSTEM_PROCESSOR is incorrect under MSVC, so it's best to keep the two branches separate.
What specific problem are you having?
Does this refer to a Boost built with `b2` or to one built with CMake?
If with CMake, the config files don't use `find_package` or `REQUIRED`; they use `find_dependency` (e.g. `find_dependency(ZLIB)`. This macro automatically sets `QUIET` or `REQUIRED` to match the parent `find_package` call. So...
Opened a CMake issue about this at https://gitlab.kitware.com/cmake/cmake/-/issues/24293.
So, your complaint is not about `find_dependency(ZLIB)` in the installed CMake config files, but (for example) about this use of `find_package`: https://github.com/boostorg/iostreams/blob/d1c1114a611afb090a007c9ff3e94efbcb914ef3/CMakeLists.txt#L30
When using Boost via `add_subdirectory` or `FetchContent`, and I suppose CPM, you have to link to the libraries you use even if they are header-only (`Boost::accumulators` in this case), `Boost::headers`...