cmake: mark as advanced some internal Find* variables
To sync with other similar variables and hide them from cmake UIs.
Follow-up to 7bab201abe #15193
Closes #15407
This commit is contained in:
parent
45862f2221
commit
ffc4e6a886
@ -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()
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user