boostorg / iostreams

Boost.org iostreams module
http://boost.org/libs/iostreams
Boost Software License 1.0
43 stars 116 forks source link

cmake support for specifying specific (static/shared) target to link for zlib, zstd, etc #173

Open nigels-com opened 5 months ago

nigels-com commented 5 months ago

For zstd the BOOST_IOSTREAMS_ENABLE_ZSTD option is hard-coded to the shared library target: zstd::libzstd_shared

This PR accepts other targets such as a static library target for the purpose of generality.

@pdimov (for visibility and discussion)