1CMP0045
2-------
3
4Error on non-existent target in get_target_property.
5
6In CMake 2.8.12 and lower, the :command:`get_target_property` command accepted
7a non-existent target argument without issuing any error or warning.  The
8result variable is set to a ``-NOTFOUND`` value.
9
10The ``OLD`` behavior for this policy is to issue no warning and set the result
11variable to a ``-NOTFOUND`` value.  The ``NEW`` behavior
12for this policy is to issue a ``FATAL_ERROR`` if the command is called with a
13non-existent target.
14
15This policy was introduced in CMake version 3.0.  CMake version
16|release| warns when the policy is not set and uses ``OLD`` behavior.  Use
17the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
18
19.. include:: DEPRECATED.txt
20