1CMP0093 2------- 3 4.. versionadded:: 3.15 5 6:module:`FindBoost` reports ``Boost_VERSION`` in ``x.y.z`` format. 7 8In CMake 3.14 and below the module would report the Boost version 9number as specified in the preprocessor definition ``BOOST_VERSION`` in 10the ``boost/version.hpp`` file. In CMake 3.15 and later it is preferred 11that the reported version number matches the ``x.y.z`` format reported 12by the CMake package shipped with Boost ``1.70.0`` and later. The macro 13value is still reported in the ``Boost_VERSION_MACRO`` variable. 14 15The ``OLD`` behavior for this policy is for :module:`FindBoost` to report 16``Boost_VERSION`` as specified in the preprocessor definition 17``BOOST_VERSION`` in ``boost/version.hpp``. The ``NEW`` behavior for this 18policy is for :module:`FindBoost` to report ``Boost_VERSION`` in 19``x.y.z`` format. 20 21This policy was introduced in CMake version 3.15. Use the 22:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. 23Unlike many policies, CMake version |release| does *not* warn 24when this policy is not set and simply uses the ``OLD`` behavior. 25 26.. include:: DEPRECATED.txt 27