CMP0081.rst 903 B

123456789101112131415161718192021222324
  1. CMP0081
  2. -------
  3. .. versionadded:: 3.13
  4. Relative paths not allowed in :prop_tgt:`LINK_DIRECTORIES` target property.
  5. CMake 3.12 and lower allowed the :prop_dir:`LINK_DIRECTORIES` directory
  6. property to contain relative paths. The base path for such relative
  7. entries is not well defined. CMake 3.13 and later will issue a
  8. ``FATAL_ERROR`` if the :prop_tgt:`LINK_DIRECTORIES` target property
  9. (which is initialized by the :prop_dir:`LINK_DIRECTORIES` directory property)
  10. contains a relative path.
  11. The ``OLD`` behavior for this policy is not to warn about relative paths
  12. in the :prop_tgt:`LINK_DIRECTORIES` target property. The ``NEW`` behavior for
  13. this policy is to issue a ``FATAL_ERROR`` if :prop_tgt:`LINK_DIRECTORIES`
  14. contains a relative path.
  15. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.13
  16. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  17. .. include:: STANDARD_ADVICE.txt
  18. .. include:: DEPRECATED.txt