Skip to content

FindBoost: Improve behavior when thread dependency is missing

Brad King requested to merge brad.king/cmake:FindBoost-no-find_dependency into master

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

Merge request reports