Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zlib and Bz2 link targets hard coded #177

Open
jammerxd opened this issue Sep 10, 2024 · 0 comments
Open

Zlib and Bz2 link targets hard coded #177

jammerxd opened this issue Sep 10, 2024 · 0 comments

Comments

@jammerxd
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant