mirror of
https://github.com/curl/curl.git
synced 2026-07-23 09:47:20 +03:00
cmake: tidy up CURL_DISABLE_FORM_API initialization
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 #15394
This commit is contained in:
parent
ec68fb5a6c
commit
7e94680c9a
1 changed files with 6 additions and 6 deletions
|
|
@ -299,10 +299,6 @@ option(CURL_DISABLE_DOH "Disable DNS-over-HTTPS" OFF)
|
|||
mark_as_advanced(CURL_DISABLE_DOH)
|
||||
option(CURL_DISABLE_FILE "Disable FILE" OFF)
|
||||
mark_as_advanced(CURL_DISABLE_FILE)
|
||||
cmake_dependent_option(CURL_DISABLE_FORM_API "Disable form-api"
|
||||
OFF "NOT CURL_DISABLE_MIME"
|
||||
ON)
|
||||
mark_as_advanced(CURL_DISABLE_FORM_API)
|
||||
option(CURL_DISABLE_FTP "Disable FTP" OFF)
|
||||
mark_as_advanced(CURL_DISABLE_FTP)
|
||||
option(CURL_DISABLE_GETOPTIONS "Disable curl_easy_options API for existing options to curl_easy_setopt" OFF)
|
||||
|
|
@ -327,10 +323,14 @@ option(CURL_DISABLE_LIBCURL_OPTION "Disable --libcurl option from the curl tool"
|
|||
mark_as_advanced(CURL_DISABLE_LIBCURL_OPTION)
|
||||
option(CURL_DISABLE_MIME "Disable MIME support" OFF)
|
||||
mark_as_advanced(CURL_DISABLE_MIME)
|
||||
cmake_dependent_option(CURL_DISABLE_FORM_API "Disable form-api"
|
||||
OFF "NOT CURL_DISABLE_MIME"
|
||||
ON)
|
||||
mark_as_advanced(CURL_DISABLE_FORM_API)
|
||||
option(CURL_DISABLE_MQTT "Disable MQTT" OFF)
|
||||
mark_as_advanced(CURL_DISABLE_BINDLOCAL)
|
||||
option(CURL_DISABLE_BINDLOCAL "Disable local binding support" OFF)
|
||||
mark_as_advanced(CURL_DISABLE_MQTT)
|
||||
option(CURL_DISABLE_BINDLOCAL "Disable local binding support" OFF)
|
||||
mark_as_advanced(CURL_DISABLE_BINDLOCAL)
|
||||
option(CURL_DISABLE_NETRC "Disable netrc parser" OFF)
|
||||
mark_as_advanced(CURL_DISABLE_NETRC)
|
||||
option(CURL_DISABLE_NTLM "Disable NTLM support" OFF)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue