boostorg / boostorg/boost

provide transitive dependencies for static libraries

Ouverte
#277 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
HTML
Étoiles
8.6k
Forks
1.9k
Merge moyen
39 min
PR mergées (30 j)
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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.