Commit bd07802
build.jam: fix malformed alias so b2 install generates cmake config
The alias used `usage-requirements` as a literal source name instead of
the dedicated 5th argument position, and lived outside the `explicit`
block. As a result `boost-library openmethod` could not detect the
library's interface and `b2 install` skipped the cmake config files.
Downstream consumers calling `find_package(Boost CONFIG REQUIRED
COMPONENTS openmethod)` against a b2-installed Boost (e.g. the
unified-cmake CI job) then failed with:
Could not find a package configuration file provided by
"boost_openmethod" (requested version 1.92.0)
Move the alias inside `explicit` and put `<include>include
<library>$(boost_dependencies)` in the usage-requirements slot,
matching the pattern used by every other header-only Boost library
(assert, core, describe, mp11, preprocessor, ...).
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 3632b00 commit bd07802
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
22 | 21 | | |
23 | | - | |
24 | | - | |
25 | 22 | | |
26 | 23 | | |
0 commit comments