CMP0039.rst 696 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. This policy was introduced in CMake version 3.0. CMake version
  12. |release| warns when the policy is not set and uses OLD behavior. Use
  13. the cmake_policy command to set it to OLD or NEW explicitly.
  14. .. include:: DEPRECATED.txt