CMP0099.rst 965 B

12345678910111213141516171819202122232425
  1. CMP0099
  2. -------
  3. .. versionadded:: 3.17
  4. Target link properties :prop_tgt:`INTERFACE_LINK_OPTIONS`,
  5. :prop_tgt:`INTERFACE_LINK_DIRECTORIES` and :prop_tgt:`INTERFACE_LINK_DEPENDS`
  6. are now transitive over private dependencies of static libraries.
  7. In CMake 3.16 and below the interface link properties attached to libraries
  8. are not propagated for private dependencies of static libraries.
  9. Only the libraries themselves are propagated to link the dependent binary.
  10. CMake 3.17 and later prefer to propagate all interface link properties.
  11. This policy provides compatibility for projects that have not been updated
  12. to expect the new behavior.
  13. The ``OLD`` behavior for this policy is to not propagate interface link
  14. properties. The ``NEW`` behavior of this policy is to propagate interface link
  15. properties.
  16. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17
  17. .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn
  18. .. include:: STANDARD_ADVICE.txt
  19. .. include:: DEPRECATED.txt