CMP0016.rst 583 B

12345678910111213141516
  1. CMP0016
  2. -------
  3. :command:`target_link_libraries` reports error if its only argument
  4. is not a target.
  5. In CMake 2.8.2 and lower the :command:`target_link_libraries` command silently
  6. ignored if it was called with only one argument, and this argument
  7. wasn't a valid target. In CMake 2.8.3 and above it reports an error
  8. in this case.
  9. This policy was introduced in CMake version 2.8.3. CMake version
  10. |release| warns when the policy is not set and uses ``OLD`` behavior. Use
  11. the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
  12. .. include:: DEPRECATED.txt