mirror of
https://github.com/curl/curl.git
synced 2026-04-14 23:01:41 +03:00
cmake: mark two internal options as advanced
To omit them from CMake GUI option listings. Follow-up toc37e06c642#17962 Follow-up to6ab1fa423b#16278 Closes #20818
This commit is contained in:
parent
70ec11358c
commit
0742fd5c80
2 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue