-
Notifications
You must be signed in to change notification settings - Fork 6
cmake: Port PR29904 from the master branch #181
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
Conversation
LGTM. |
I've fixed a Windows-specific issue. Do you mind re-reviewing please? |
Port PR29904 (1 of 2).
Port PR29904 (2 of 2).
... and rebased to resolve a conflict. |
@hebasto When you add something like that to a PR like this, could you please provide some context? Why is ws2_32 needed now? |
Sure. Sorry for inappropriate succinctness.
The reason is the actual usage of WinSock in Lines 95 to 96 in d73245a
Before this change, |
Elsewhere we have: if(MINGW)
target_link_libraries(bitcoin_util
PRIVATE
ws2_32
) Shouldn't we be using the same approach in both places? Does the above really only apply to mingw and not Windows generally? |
Unified `ws2_32` link approach.
Agree. A "fixup! .." commit has been added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This PR ports bitcoin#29904 after the recent sync/rebase PR.