2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-01-19 04:02:15 +00:00

doc: Add reference to Boost 1.89 for link-target format

This commit is contained in:
Alexander Grund
2025-09-18 10:29:24 +02:00
parent 304574e894
commit 8c9f070213

View File

@@ -214,7 +214,8 @@ include path because it doesn't require any compilation. This is what the
which are propagated upwards to its users.) which are propagated upwards to its users.)
Note that the exact form of the directive, with each `Boost::libname` target on Note that the exact form of the directive, with each `Boost::libname` target on
its own line, is not necessary. You could as well put them on a singe line: its own line, is no longer necessary after Boost 1.89.
You can as well put them on a singe line:
`target_link_libraries(boost_core INTERFACE Boost::assert Boost::config Boost::static_assert)` `target_link_libraries(boost_core INTERFACE Boost::assert Boost::config Boost::static_assert)`
This dependency specification influences the behavior of the user-settable This dependency specification influences the behavior of the user-settable
`BOOST_INCLUDE_LIBRARIES` option of the superproject, which requests only the `BOOST_INCLUDE_LIBRARIES` option of the superproject, which requests only the