cmake: mark two internal options as advanced

To omit them from CMake GUI option listings.

Follow-up to c37e06c642 #17962
Follow-up to 6ab1fa423b #16278

Closes #20818
This commit is contained in:
Viktor Szakats 2026-03-05 02:30:06 +01:00
parent 70ec11358c
commit 0742fd5c80
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -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")

View File

@ -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()