From 732d8ef758eef5611732945ce999baf5fdc97929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Yhuel?= Date: Wed, 11 Oct 2023 13:13:50 +0200 Subject: [PATCH] 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 --- lib/curl_config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) 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