This is not going to work if I just link to Boost::iostreams. How should a consumer know that those libraries are needed?
If I am not mistaken, In modern CMake you would call find_dependencies(ZSTD::ZSTD $Version) and then link to the imported target in your exported CMake file.
This gets especially tricky with boost::regex and ICU, where I don't even know which version I should find in my own CMake script that is "finding" boost.
This is not going to work if I just link to Boost::iostreams. How should a consumer know that those libraries are needed? If I am not mistaken, In modern CMake you would call
find_dependencies(ZSTD::ZSTD $Version)
and then link to the imported target in your exported CMake file.This gets especially tricky with boost::regex and ICU, where I don't even know which version I should find in my own CMake script that is "finding" boost.