CMP0072
-------

``if(EXISTS)`` checks that any file exists at the path, not that it is
readable.

The :command:`if` command's ``EXISTS`` predicate previously checked whether a
file was readable instead of checking that the path actually existed.  For the
old behavior, ``file(READ LIMIT 0 RESULT_VARIABLE res)`` may be used in CMake
3.10 and above.

The ``OLD`` behavior of this policy is to check whether a file is readable
rather than it exists with ``if(EXISTS)``.

The ``NEW`` behavior of this policy is to check whether a file exists at the
given path with ``if(EXISTS)``.

This policy was introduced in CMake version 3.10.
CMake version |release| warns when the policy is not set and uses
``OLD`` behavior.  Use the :command:`cmake_policy` command to set
it to ``OLD`` or ``NEW`` explicitly.

.. include:: DEPRECATED.txt
