CMP0016.rst 542 B

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