CMP0016.rst 513 B

12345678910111213
  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.