FindBoost: Improve behavior when thread dependency is missing
The find_dependency
macro is not meant for use in find modules and
return()
s from the caller when the package is not found. Avoid using
it in FindBoost. Instead use plain find_package
for the Threads
package and manually forward the QUIET
argument. When the Threads
package is missing then treat the Boost thread
component as missing.
Issue: #17257