Skip to content

cmake: add comments to feature check options applied globally - #15253

Closed
vszakats wants to merge 4 commits into
curl:masterfrom
vszakats:cm-comments
Closed

vszakats wants to merge 4 commits into
curl:masterfrom
vszakats:cm-comments

Conversation

@vszakats

Copy link
Copy Markdown
Member

Add comments saying when we want values set in feature check option
variables to apply to all feature checks, globally. These are currently:
ws2_32 and socket libraries, and -D_WIN32_WINNT= macro.

Also use list(APPEND ...) for the libraries to avoid overwriting
potentially existing values.

Cherry-picked from #15157

@github-actions github-actions Bot added the build label Oct 10, 2024
@vszakats vszakats closed this in 6074e33 Oct 10, 2024
@vszakats
vszakats deleted the cm-comments branch October 10, 2024 17:37
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
Add comments saying when we want values set in feature check option
variables to apply to all feature checks, globally. These are currently:
`ws2_32` and `socket` libraries, and `-D_WIN32_WINNT=` macro.

Also use `list(APPEND ...)` for the libraries to avoid overwriting
potentially existing values.

Cherry-picked from curl#15157
Closes curl#15253
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.

1 participant