Cmake 4.1

"schoch+boost.org--- via Boost-users" <[email protected]> Thu, 20 Nov 2025 19:04:40 -0000
Newsgroups gmane.comp.lib.boost.user
Message-ID <[email protected]>
I'm having trouble getting cmake 4.1 to work with boost 1.88.

I set the cmake BOOST_ROOT variable to C:\boost_1_88_0 and when my CMakeLists.txt file calls find_package(Boost REQUIRED) it successfully finds the file C:\boost_1_88_0\tools\cmake\config\BoostConfig.cmake, but when that file calls find_package(boost_headers ...) cmake fails, saying it can't find boost_headers-config.cmake, even though I can find that file deep under the C:\boost_1_88_0 directory.

Is there an easy way to get boost to work with cmake 4.1?
_______________________________________________
Boost-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost-users.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/N3LG3SXDZZDWHQM37TFBWGVSWGOWV4SJ/