1CMP0059
2-------
3
4.. versionadded:: 3.3
5
6Do not treat ``DEFINITIONS`` as a built-in directory property.
7
8CMake 3.3 and above no longer make a list of definitions available through
9the :prop_dir:`DEFINITIONS` directory property.  The
10:prop_dir:`COMPILE_DEFINITIONS` directory property may be used instead.
11
12The ``OLD`` behavior for this policy is to provide the list of flags given
13so far to the :command:`add_definitions` command.  The ``NEW`` behavior is
14to behave as a normal user-defined directory property.
15
16This policy was introduced in CMake version 3.3.
17CMake version |release| warns when the policy is not set and uses
18``OLD`` behavior.  Use the :command:`cmake_policy` command to set
19it to ``OLD`` or ``NEW`` explicitly.
20
21.. include:: DEPRECATED.txt
22