diff --git a/changelogs/unreleased/libcurl-doc-option-fix.md b/changelogs/unreleased/libcurl-doc-option-fix.md new file mode 100644 index 0000000000000000000000000000000000000000..9a0de0adbf8061dc5112fdc2fd416905d2a5b2a2 --- /dev/null +++ b/changelogs/unreleased/libcurl-doc-option-fix.md @@ -0,0 +1,3 @@ +## bugfix/build + +* The `BUILD_MISC_DOCS` curl option is now disabled by default (gh-10576). diff --git a/cmake/BuildLibCURL.cmake b/cmake/BuildLibCURL.cmake index 872058ec71c8b674b5796179118e8f3e85630606..ba6b183506e223be09b29bc2fc55bc786b665d88 100644 --- a/cmake/BuildLibCURL.cmake +++ b/cmake/BuildLibCURL.cmake @@ -43,6 +43,7 @@ macro(curl_build) # Let's disable building documentation for curl to save build time. list(APPEND LIBCURL_CMAKE_FLAGS "-DENABLE_CURL_MANUAL=OFF") + list(APPEND LIBCURL_CMAKE_FLAGS "-DBUILD_MISC_DOCS=OFF") list(APPEND LIBCURL_CMAKE_FLAGS "-DBUILD_LIBCURL_DOCS=OFF") # Setup use of openssl, use the same OpenSSL library