Hello,

I have downloaded Boost 1.84 source and built it on RedHat 8.5 using GCC. Here are the commands used;

./bootstrap.sh --with-toolset=gcc --prefix=/tmp/boost_1.84
./b2 --build-dir=/tmp/boost_1.84_stage toolset=gcc variant=release link=shared threading=multi runtime-link=shared address-model=64 stage install
This seems to work great.

When configurating our software to use Boost 1.84  then CMake fails when doing Find_Package with the error message "CMake Error at /tmp/tools/boost1.84/rhel85_gcc/lib/cmake/boost_math_c99-1.84.0/boost_math_c99-config.cmake but it set boost_math_c99_FOUND to FALSE so package "boost_math_c99" i considered to be NOT FOUND". 

So I looked at the boost_math_c99-config.cmake file and found that it tried to do GLOB for files using the "libboost_math_c99-variant*.cmake" pattern but there are no such files in that folder. None of the boost_math components contain a "variant" file.  When looking at the Visual Studio 2022 built of Boost 1.84 I can find libboost_mathc99-variant-vc143-mt-x64-1_84-shared.cmake and libboost_mathc99-variant-vc143-mt-gd-x64-1_84-shared.cmake. 

What am I doing wrong? Appreciate any input 🙂

Kind regards, Lars