From: Viktor Szakats Date: Thu, 24 Oct 2024 20:44:06 +0000 (+0200) Subject: cmake: mark as advanced some internal Find* variables X-Git-Tag: curl-8_11_0~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffc4e6a886d683fff7aa8e7e92917e6158930389;p=thirdparty%2Fcurl.git cmake: mark as advanced some internal Find* variables To sync with other similar variables and hide them from cmake UIs. Follow-up to 7bab201abe3915a0167c002f9308950cb8a06e4b #15193 Closes #15407 --- diff --git a/CMake/FindRustls.cmake b/CMake/FindRustls.cmake index 2e9caf18ba..282ccdaa32 100644 --- a/CMake/FindRustls.cmake +++ b/CMake/FindRustls.cmake @@ -85,12 +85,17 @@ elseif(NOT WIN32) if(_pthread_library) list(APPEND RUSTLS_LIBRARIES "pthread") endif() + mark_as_advanced(_pthread_library) + find_library(_dl_library "dl") if(_dl_library) list(APPEND RUSTLS_LIBRARIES "dl") endif() + mark_as_advanced(_dl_library) + find_library(_math_library "m") if(_math_library) list(APPEND RUSTLS_LIBRARIES "m") endif() + mark_as_advanced(_math_library) endif() diff --git a/CMake/FindWolfSSL.cmake b/CMake/FindWolfSSL.cmake index 35c24dcc70..b1c11e9e50 100644 --- a/CMake/FindWolfSSL.cmake +++ b/CMake/FindWolfSSL.cmake @@ -93,4 +93,5 @@ if(NOT WIN32) if(_math_library) list(APPEND WOLFSSL_LIBRARIES "m") # for log and pow endif() + mark_as_advanced(_math_library) endif()