Skip to content

Workaround on finding Boost #46

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

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Workaround on finding Boost #46

merged 1 commit into from
Apr 26, 2024

Conversation

FabienPean
Copy link
Collaborator

This would be a workaround to #43. I wanted to do a clean-up and a full replacement of in-build install via https://github.com/boostorg/cmake, but I faced some incompatibility: it is not offering a valid Boost::headers target (each lib has to be linked Boost::mp11, CMake complains the dependent target boost_headers is not exported, FetchContent_Declare on Windows is slow.

In absence of valid full replacement, I propose this minor change to check for system/user provided Boost first before trying to deal with it as before.

@FabienPean FabienPean requested a review from jll63 as a code owner April 21, 2024 19:22
Copy link
Owner

@jll63 jll63 left a comment

Choose a reason for hiding this comment

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

I still think that auto downloading dependencies, while may have made sense a while ago, should be an explicit opt-in now. I really want to eliminate the need for a patch in vcpkg context. Can we work towards this goal? I am going to fix the docs.in inclusion issue.

I found a couple of bugs in 1.5.0. I am going to make a 1.5.1 version soon. You bump vcpkg or I do?

@jll63 jll63 merged commit fba65ee into master Apr 26, 2024
@jll63
Copy link
Owner

jll63 commented Apr 26, 2024

1.5.1 is out.

@FabienPean
Copy link
Collaborator Author

I made the PR for v1.5.1 microsoft/vcpkg#38450
Once the current ongoing PRs are merged, it will be possible to delete the patch file on vcpkg side 👍

@FabienPean FabienPean deleted the fix/finding-boost-workaround branch April 28, 2024 08:45
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

Successfully merging this pull request may close these issues.

2 participants