CMP0039.rst 632 B

12345678910111213141516171819
  1. CMP0039
  2. -------
  3. Utility targets may not have link dependencies.
  4. CMake 2.8.12 and lower allowed using utility targets in the left hand side
  5. position of the :command:`target_link_libraries` command. This is an indicator
  6. of a bug in user code.
  7. The ``OLD`` behavior for this policy is to ignore attempts to set the link
  8. libraries of utility targets. The ``NEW`` behavior for this policy is to
  9. report an error if an attempt is made to set the link libraries of a
  10. utility target.
  11. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0
  12. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  13. .. include:: STANDARD_ADVICE.txt
  14. .. include:: DEPRECATED.txt