If you use hunter to build your projects, including the boost package causes zlib, bzip2 and other dependencies to be built for your project automatically.

https://github.com/ruslo/hunter/
https://github.com/ruslo/hunter/releases
https://github.com/hunter-packages


On Sat, 12 Jan 2019 at 17:55, Simon Michalke via Boost-users <boost-users@lists.boost.org> wrote:
Hello,

this works, thank you. However I do not have and do not need the
ZLIB_BINARY.

Regards,
Simon

Am 12.01.19 um 16:13 schrieb Roger Leigh via Boost-users:
> On 12/01/2019 15:07, Simon Michalke via Boost-users wrote:
>>
>> yes, I know that works and I got that working. But do I really need
>> to link the source? Because bjam automatically uses the system header
>> and static lib on Linux. This works just fine.
>>
>> I just want to give bjam the header and static library manually.
>
> I use
>
> -sZLIB_BINARY=
> -sZLIB_INCLUDE=
> -sZLIB_LIBPATH=
>
> as in
> https://gitlab.com/codelibre/ome-cmake-superbuild/blob/master/packages/boost/build.cmake#L41
> and it works correctly for me.  I've never been a fan of Boost wanting
> to try to build third-party libraries.
>
>
> Regards,
> Roger
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> https://lists.boost.org/mailman/listinfo.cgi/boost-users

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users


--
Richard Hodges
hodges.r@gmail.com
office: +442032898513
home: +376841522
mobile: +376380212 (this will be *expensive* outside Andorra!)
skype: madmongo
facebook: hodges.r