1CMP0081 2------- 3 4.. versionadded:: 3.13 5 6Relative paths not allowed in :prop_tgt:`LINK_DIRECTORIES` target property. 7 8CMake 3.12 and lower allowed the :prop_dir:`LINK_DIRECTORIES` directory 9property to contain relative paths. The base path for such relative 10entries is not well defined. CMake 3.13 and later will issue a 11``FATAL_ERROR`` if the :prop_tgt:`LINK_DIRECTORIES` target property 12(which is initialized by the :prop_dir:`LINK_DIRECTORIES` directory property) 13contains a relative path. 14 15The ``OLD`` behavior for this policy is not to warn about relative paths 16in the :prop_tgt:`LINK_DIRECTORIES` target property. The ``NEW`` behavior for 17this policy is to issue a ``FATAL_ERROR`` if :prop_tgt:`LINK_DIRECTORIES` 18contains a relative path. 19 20This policy was introduced in CMake version 3.13. CMake version 21|release| warns when the policy is not set and uses ``OLD`` behavior. Use 22the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. 23 24.. include:: DEPRECATED.txt 25