Skip to content

cmake: tidy up CURL_DISABLE_FORM_API initialization #15394

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

Closed
wants to merge 2 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Oct 24, 2024

Initialization of CURL_DISABLE_FORM_API depends on another option.
Make sure the other option is initialized before this one.

Due to the defaults and logic this did not cause an issue.

Also fix the order of two other lines to match with the rest.

Verified

This commit was signed with the committer’s verified signature.
vszakats Viktor Szakats

Verified

This commit was signed with the committer’s verified signature.
vszakats Viktor Szakats
@vszakats vszakats added the cmake label Oct 24, 2024
@github-actions github-actions bot added the build label Oct 24, 2024
@vszakats vszakats changed the title cmake: fix initializing CURL_DISABLE_FORM_API cmake: tidy up CURL_DISABLE_FORM_API initialization Oct 24, 2024
@vszakats vszakats closed this in 7e94680 Oct 24, 2024
@vszakats vszakats deleted the cm-fix-disable-order branch October 24, 2024 17:17
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Initialization of `CURL_DISABLE_FORM_API` depends on another option.
Make sure the other option is initialized before this one.

Due to the defaults and logic this did not cause an issue.

Also fix the order of two other lines to match with the rest.

Closes curl#15394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant