CMP0093.rst 986 B

12345678910111213141516171819202122232425
  1. CMP0093
  2. -------
  3. .. versionadded:: 3.15
  4. :module:`FindBoost` reports ``Boost_VERSION`` in ``x.y.z`` format.
  5. In CMake 3.14 and below the module would report the Boost version
  6. number as specified in the preprocessor definition ``BOOST_VERSION`` in
  7. the ``boost/version.hpp`` file. In CMake 3.15 and later it is preferred
  8. that the reported version number matches the ``x.y.z`` format reported
  9. by the CMake package shipped with Boost ``1.70.0`` and later. The macro
  10. value is still reported in the ``Boost_VERSION_MACRO`` variable.
  11. The ``OLD`` behavior for this policy is for :module:`FindBoost` to report
  12. ``Boost_VERSION`` as specified in the preprocessor definition
  13. ``BOOST_VERSION`` in ``boost/version.hpp``. The ``NEW`` behavior for this
  14. policy is for :module:`FindBoost` to report ``Boost_VERSION`` in
  15. ``x.y.z`` format.
  16. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.15
  17. .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn
  18. .. include:: STANDARD_ADVICE.txt
  19. .. include:: DEPRECATED.txt