From: Loïc Yhuel Date: Wed, 11 Oct 2023 11:13:50 +0000 (+0200) Subject: cmake: fix CURL_DISABLE_GETOPTIONS X-Git-Tag: curl-8_5_0~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732d8ef758eef5611732945ce999baf5fdc97929;p=thirdparty%2Fcurl.git cmake: fix CURL_DISABLE_GETOPTIONS - Add CURL_DISABLE_GETOPTIONS to curl_config.h.cmake. Prior to this change the option had no effect because it was missing from that file. Closes https://github.com/curl/curl/pull/12091 --- diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake index 0bfb457969..6df67d081b 100644 --- a/lib/curl_config.h.cmake +++ b/lib/curl_config.h.cmake @@ -74,6 +74,9 @@ /* disables FTP */ #cmakedefine CURL_DISABLE_FTP 1 +/* disables curl_easy_options API for existing options to curl_easy_setopt */ +#cmakedefine CURL_DISABLE_GETOPTIONS 1 + /* disables GOPHER */ #cmakedefine CURL_DISABLE_GOPHER 1