boostorg / boostorg/boost

provide transitive dependencies for static libraries

Open
#277 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
8.6k
Forks
1.9k
Avg merge
39m
Merged PRs (30d)
2

Description

I just for the first time had cmake pick up boosts own cmake setup. unfortunately this immediately caused problems. unlike cmakes FindBoost.cmake the boost version does not provide transitive dependencies for static libraries.
```
target_link_libraries(my_exe Boost::iostreams)
```
for example will result in unresolved references to libz if boost is linked statically. also i noticed dynamic and static configs always provide the -mt libraries, wether selected for thread safety or not.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.