1CMP0021 2------- 3 4Fatal error on relative paths in :prop_tgt:`INCLUDE_DIRECTORIES` target 5property. 6 7CMake 2.8.10.2 and lower allowed the :prop_tgt:`INCLUDE_DIRECTORIES` target 8property to contain relative paths. The base path for such relative 9entries is not well defined. CMake 2.8.12 issues a ``FATAL_ERROR`` if the 10:prop_tgt:`INCLUDE_DIRECTORIES` property contains a relative path. 11 12The ``OLD`` behavior for this policy is not to warn about relative paths 13in the ``INCLUDE_DIRECTORIES`` target property. The ``NEW`` behavior for this 14policy is to issue a ``FATAL_ERROR`` if ``INCLUDE_DIRECTORIES`` contains a 15relative path. 16 17This policy was introduced in CMake version 2.8.12. CMake version 18|release| warns when the policy is not set and uses ``OLD`` behavior. Use 19the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. 20 21.. include:: DEPRECATED.txt 22