Merge pull request #10649 from valeriosetti/skip-thread-cmake-search

cmake: make Thread package search quiet
This commit is contained in:
Valerio Setti
2026-03-23 23:34:05 +00:00
committed by GitHub

View File

@@ -122,7 +122,7 @@ endif()
# We now potentially need to link all executables against PThreads, if available
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package(Threads)
find_package(Threads QUIET)
# If this is the root project add longer list of available CMAKE_BUILD_TYPE values
if(NOT MBEDTLS_AS_SUBPROJECT)