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

Conan: Use transitive_libs=True for Boost #753

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

kyllingstad
Copy link
Member

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.

@kyllingstad kyllingstad added bug Something isn't working conan This issue or PR is related to the conan package manager labels Feb 22, 2024
@kyllingstad kyllingstad self-assigned this Feb 22, 2024
Copy link
Member

@eidekrist eidekrist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kyllingstad kyllingstad merged commit 71bb03b into master Mar 7, 2024
20 checks passed
@kyllingstad kyllingstad deleted the bugfix/transitive-libs-boost branch March 7, 2024 08:02
Copy link
Contributor

@davidhjp01 davidhjp01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! (already merged 😅)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working conan This issue or PR is related to the conan package manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants