ARTICLE AD BOX
A small Linux distribution is being built using buildroot. A set of Boost libraries is added to it. The problem is that starting from cmake version 3.30, the configuration mode (find_package(Boost COMPONENTS context REQUIRED CONFIG)) must be used to locate Boost libraries. However, buildroot does not place the BoostConfig.cmake (or boost-config.cmake) files into the resulting sysroot, which causes an error when running "cmake --build". One can specify cmake_policy(CMP0167 OLD), but the OLD behavior is marked as "deprecated" and may be removed. Is there a way to make buildroot place the BoostConfig.cmake files into the final sysroot?
