mirror of
https://github.com/curl/curl.git
synced 2026-08-01 01:38:09 +03:00
cmake: add test for DISABLE options, add CURL_DISABLE_HEADERS_API
- tests: verify CMake `DISABLE` options. Make an exception for 2 CMake-only ones, and one more that's using a different naming scheme, also in autotools and source. - cmake: add support for `CURL_DISABLE_HEADERS_API`. Suggested-by: Daniel Stenberg Ref: https://github.com/curl/curl/pull/12345#pullrequestreview-1736238641 Closes #12353
This commit is contained in:
parent
b9b50f3193
commit
33493db2af
3 changed files with 46 additions and 0 deletions
|
|
@ -80,6 +80,9 @@
|
|||
/* disables GOPHER */
|
||||
#cmakedefine CURL_DISABLE_GOPHER 1
|
||||
|
||||
/* disables headers-api support */
|
||||
#cmakedefine CURL_DISABLE_HEADERS_API 1
|
||||
|
||||
/* disables HSTS support */
|
||||
#cmakedefine CURL_DISABLE_HSTS 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue