[Pkg-cmake-team] Bug#1110543: cmake doesn't know about boost 1.88
Timo Röhling
roehling at debian.org
Tue Aug 12 09:52:34 BST 2025
Hi,
On Fri, 8 Aug 2025 08:36:57 +0200 Matthias Klose <doko at debian.org>
wrote:
> cmake doesn't know about boost 1.88. unfortunate, because trixie ships
> with boost 1.88.
I'll backport the CMake 4.1.0 fix to trixie. Just for the record, the
Boost module has been deprecated and should be avoided in new code [1].
Boost ships with its own CMake configuration these days, which will be
used if (in order of my personal preference)
- cmake_minimum_required() indicates support for version 3.30 or newer,
- the CONFIG option is used with find_package(), i.e.,
find_package(Boost CONFIG), or
- policy CMP0167 is explicitly set to NEW.
Cheers
Timo
[1] https://cmake.org/cmake/help/latest/module/FindBoost.html
--
⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20250812/6dbdadd5/attachment.sig>
More information about the Pkg-cmake-team
mailing list