FindBoost-fphsa.rst 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. FindBoost-fphsa
  2. ---------------
  3. * The :module:`FindBoost` module was reworked to expose a more
  4. consistent user experience between its config and module modes
  5. and with other find modules in general.
  6. * A new imported target ``Boost::headers`` is now defined (same
  7. as ``Boost::boost``).
  8. * New output variables ``Boost_VERSION_MACRO``,
  9. ``Boost_VERSION_MAJOR``, ``Boost_VERSION_MINOR``,
  10. ``Boost_VERSION_PATCH``, and ``Boost_VERSION_COUNT``
  11. were added.
  12. * The internal logic for determining the value for
  13. ``Boost_FOUND``, for version and component checks, and
  14. for reporting the result to the user was replaced with
  15. the :module:`FindPackageHandleStandardArgs` module. (This
  16. fixed a bug that sometimes printed wrong status
  17. messages in config mode.)
  18. * The ``QUIET`` argument passed to :command:`find_package` is no
  19. longer ignored in config mode.
  20. * *Known issue*: The CMake package shipped with Boost ``1.70.0``
  21. ignores the ``QUIET`` argument passed to :command:`find_package`.
  22. This is fixed in the next Boost release.
  23. * The input switch ``Boost_DETAILED_FAILURE_MSG`` was
  24. removed.
  25. * ``Boost_VERSION`` now reports the version in ``x.y.z``
  26. format in module mode. See policy :policy:`CMP0093`.