open-simulation-platform / libcosim

OSP C++ co-simulation library
https://open-simulation-platform.github.io/libcosim
Mozilla Public License 2.0
61 stars 10 forks source link

Conan: Use transitive_libs=True for Boost #753

Closed kyllingstad closed 8 months ago

kyllingstad commented 9 months ago

Since we use Boost in some libcosim headers, and more specifically Boost libraries that have binary components (i.e., are not header-only), such as Boost.Log, then we need to specify the transitive_libs=True trait when listing the requirement. Otherwise, client code won't have access to those binary components for linking.

Thanks to @davidhjp01 for pointing out the issue.