# CMP0167

Added in version 3.30.

The `FindBoost` module is removed.

CMake 3.29 and below provide a `FindBoost` module, but it needs constant updates to keep up with upstream Boost releases. Upstream Boost 1.70 and above provide a `BoostConfig.cmake` package configuration file. `find_package(Boost CONFIG)` finds the upstream package directly, without the find module.

CMake 3.30 and above prefer to not provide the `FindBoost` module so that `find_package(Boost)` calls, without the `CONFIG` or `NO_MODULE` options, find the upstream `BoostConfig.cmake` directly. This policy provides compatibility for projects that have not been ported to use the upstream Boost package.

The `OLD` behavior of this policy is for `find_package(Boost)` to load CMake's `FindBoost` module. The `NEW` behavior is for `find_package(Boost)` to search for the upstream `BoostConfig.cmake`.

This policy was introduced in CMake version 3.30. It may be set by `cmake_policy()` or `cmake_minimum_required()`. If it is not set, CMake warns, and uses `OLD` behavior.

Note

The `OLD` behavior of a policy is `deprecated by definition` and may be removed in a future version of CMake.