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

cmake: Port changes from PR28981 #154

Merged
merged 1 commit into from Apr 24, 2024
Merged

cmake: Port changes from PR28981 #154

merged 1 commit into from Apr 24, 2024

Conversation

hebasto
Copy link
Owner

@hebasto hebasto commented Apr 18, 2024

This PR ports changes from bitcoin#28981.

@hebasto hebasto marked this pull request as ready for review April 18, 2024 18:06
@hebasto hebasto changed the title cmake: Backport changes from PR28981 cmake: Port changes from PR28981 Apr 24, 2024
AUTO
)
cmake_dependent_option(WITH_EXTERNAL_SIGNER "Enable external signer support." ON "NOT WIN32" OFF)
set(ENABLE_EXTERNAL_SIGNER ${WITH_EXTERNAL_SIGNER})
Copy link

Choose a reason for hiding this comment

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

Why this set? Is it just because the option name and the internal name are different?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Correct. See:

/* Define if external signer support is enabled. */
#cmakedefine ENABLE_EXTERNAL_SIGNER

Copy link

Choose a reason for hiding this comment

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

Thanks!

@@ -55,54 +55,4 @@ function(add_boost_if_needed)
endif()
endif()

if(WITH_EXTERNAL_SIGNER)
Copy link

Choose a reason for hiding this comment

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

good to get rid of this

Copy link

@laanwj laanwj left a comment

Choose a reason for hiding this comment

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

Code review ACK b8fd285

Copy link

@TheCharlatan TheCharlatan left a comment

Choose a reason for hiding this comment

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

#154 (comment) this is unfortunate, but I think aligning the naming is something that should be done in another PR in concert with the other options.

LGTM ACK

@hebasto hebasto merged commit fe0b9dd into cmake-staging Apr 24, 2024
30 checks passed
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.

None yet

3 participants