Skip to content

CMake: support specifying the target Windows version#4815

Closed
MarcelRaad wants to merge 1 commit intocurl:masterfrom
MarcelRaad:cmake_winver
Closed

CMake: support specifying the target Windows version#4815
MarcelRaad wants to merge 1 commit intocurl:masterfrom
MarcelRaad:cmake_winver

Conversation

@MarcelRaad
Copy link
Copy Markdown
Member

@MarcelRaad MarcelRaad commented Jan 14, 2020

Previously, it was only possible to set it to Windows Vista or XP by
setting the option ENABLE_INET_PTON to ON resp. OFF.
Use a new cache variable CURL_TARGET_WINDOWS_VERSION to be able to
explicitly set the target Windows version. ENABLE_INET_PTON is
ignored in this case.

Ref: #1639 (comment)
Ref: #4607 (comment)

Previously, it was only possible to set it to Windows Vista or XP by
setting the option `ENABLE_INET_PTON` to `ON` resp. `OFF`.
Use a new cache variable `CURL_TARGET_WINDOWS_VERSION` to be able to
explicitly set the target Windows version. `ENABLE_INET_PTON` is
ignored in this case.

Ref: curl#1639 (comment)
Ref: curl#4607 (comment)
Closes
@MarcelRaad MarcelRaad added cmake Windows Windows-specific labels Jan 14, 2020
@bagder
Copy link
Copy Markdown
Member

bagder commented Jan 20, 2020

Not a cmake person, but this seems entirely reasonable!

@MarcelRaad MarcelRaad deleted the cmake_winver branch January 20, 2020 08:55
@lock lock bot locked as resolved and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cmake Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

3 participants