Skip to content

Version 3.1

Compare
Choose a tag to compare
@Arniiiii Arniiiii released this 20 Aug 02:34
· 25 commits to main since this release

What's Changed

Added ADDBOOSTCMAKE_LINK_TYPE, which allows specifying link type that the add_boost will use to a target.
By default it will use PUBLIC, unless your package is INTERFACE, in which case it will link with INTERFACE

Fixed if clause: there was endif after if(DEFINED BOOST_USE_MY_BOOST_DIRECTORY) ... , not elseif

More message(DEBUG ...) . If you configure your project with --log-level=DEBUG , it will generate more DEBUG info.

Use my version of CPM until PR is accepted: now if used CPM_LOCAL_PACKAGES_ONLY, it will make CMake's find_package to emit error with description. Which is useful if correct boost version is found but failed to find a COMPONENT part. Previously CPM tried to just say "it failed. live with it` without logs.

Full Changelog: 3.0...3.1