From 0742fd5c8040f1539794bb1b24847954c00be853 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 5 Mar 2026 02:30:06 +0100 Subject: [PATCH] cmake: mark two internal options as advanced To omit them from CMake GUI option listings. Follow-up to c37e06c642066b6cbf6b3c58278017ad40820bb3 #17962 Follow-up to 6ab1fa423bcc49a742b1cde2164ff981fdee38e8 #16278 Closes #20818 --- CMakeLists.txt | 1 + tests/certs/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42b6110afb..6d67eaa1d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -604,6 +604,7 @@ include(CheckTypeSize) include(CheckCSourceCompiles) option(_CURL_PREFILL "Fast-track known feature detection results (Windows, some Apple)" "${WIN32}") +mark_as_advanced(_CURL_PREFILL) if(_CURL_PREFILL) if(WIN32) include("${CMAKE_CURRENT_SOURCE_DIR}/CMake/win32-cache.cmake") diff --git a/tests/certs/CMakeLists.txt b/tests/certs/CMakeLists.txt index d0e1f55b85..ebe6fbcfa7 100644 --- a/tests/certs/CMakeLists.txt +++ b/tests/certs/CMakeLists.txt @@ -33,6 +33,7 @@ add_custom_command(OUTPUT ${GENERATEDCERTS} add_custom_target(build-certs DEPENDS ${GENERATEDCERTS}) option(_CURL_SKIP_BUILD_CERTS "Skip building certs with testdeps" OFF) # Internal option to increase perf for build tests +mark_as_advanced(_CURL_SKIP_BUILD_CERTS) if(NOT _CURL_SKIP_BUILD_CERTS) add_dependencies(testdeps build-certs) endif()