]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: mark as advanced some internal Find* variables
authorViktor Szakats <commit@vsz.me>
Thu, 24 Oct 2024 20:44:06 +0000 (22:44 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 24 Oct 2024 21:06:40 +0000 (23:06 +0200)
To sync with other similar variables and hide them from cmake UIs.

Follow-up to 7bab201abe3915a0167c002f9308950cb8a06e4b #15193
Closes #15407

CMake/FindRustls.cmake
CMake/FindWolfSSL.cmake

index 2e9caf18ba6ae9dc4cb984824c248a0b1af22246..282ccdaa32d659f07f36bb33f4cfb70d233c4b16 100644 (file)
@@ -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()
index 35c24dcc7092ec86e67e81dbcf665f15051fb5e5..b1c11e9e50267411ae77d0d0ff5a0dd56f42161b 100644 (file)
@@ -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()