Skip to content

Zlib and Bz2 link targets hard coded #177

@WolfJMZ

Description

@WolfJMZ

When using static compiled libs for zlib and bz2 - I can specify the target name when calling b2 as follows:

-s ZLIB_BINARY=zlibstatic -s BZIP2_BINARY=bz2_static

However, these target names never make it into the resulting generated cmake file:
This was generated in libboost_iostreams-variant-vc143-mt-gd-x64-1_86-static.cmake:

if(CMAKE_CONFIGURATION_TYPES)
  set_property(TARGET Boost::iostreams APPEND PROPERTY INTERFACE_LINK_LIBRARIES
    "$<$<CONFIG:debug>:bz2;z>")
else()
  set_property(TARGET Boost::iostreams APPEND PROPERTY INTERFACE_LINK_LIBRARIES
    bz2 z)
endif()

I see there is a merged PR that addesses this: #176

However this is really a bug since the name being provided to b2 isn't making it down to the generated cmake configuration files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions