mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:53:36 +03:00
cmake: warn for invalid CURL_TARGET_WINDOWS_VERSION values
Also: - INSTALL-CMAKE.md: add an example for `CURL_TARGET_WINDOWS_VERSION`. Reported-by: nono303 on github Ref: #20575 Closes #20582
This commit is contained in:
parent
fb5541c28b
commit
20ae14a322
2 changed files with 7 additions and 3 deletions
|
|
@ -249,7 +249,7 @@ target_link_libraries(my_target PRIVATE CURL::libcurl)
|
|||
- `CURL_LTO`: Enable compiler Link Time Optimizations. Default: `OFF`
|
||||
- `CURL_PATCHSTAMP`: Set security patch string for `curl -V`/`curl --version` output.
|
||||
- `CURL_STATIC_CRT`: Build libcurl with static CRT with MSVC (`/MT`) (requires UCRT, static libcurl or no curl executable). Default: `OFF`
|
||||
- `CURL_TARGET_WINDOWS_VERSION`: Minimum target Windows version as hex string.
|
||||
- `CURL_TARGET_WINDOWS_VERSION`: Minimum target Windows version as hex string, e.g. `0x0a00` for Windows 10.
|
||||
- `CURL_WERROR`: Turn compiler warnings into errors. Default: `OFF`
|
||||
- `ENABLE_CURL_MANUAL`: Build the man page for curl and enable its `-M`/`--manual` option. Default: `ON`
|
||||
- `ENABLE_DEBUG`: Enable curl debug features (for developing curl itself). Default: `OFF`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue