CMake/Tests/RunCMake/include/CMP0167-NEW-path.cmake
Brad King e0355c4ea9 FindBoost: Add policy to remove this module
Upstream Boost 1.70 and above provide a proper `BoostConfig.cmake`
package configuration file.  Packages for all major distros now
provide it in at least one LTS release.  Add a policy to pretend
that the `FindBoost` module does not exist so that projects calling
`find_package(Boost)` use the upstream package directly.

Closes: #19402
2024-05-03 10:30:23 -04:00

3 lines
77 B
CMake

cmake_policy(SET CMP0167 NEW)
include(${CMAKE_ROOT}/Modules/FindBoost.cmake)