CMP0046.rst 636 B

12345678910111213141516171819
  1. CMP0046
  2. -------
  3. Error on non-existent dependency in add_dependencies.
  4. CMake 2.8.12 and lower silently ignored non-existent dependencies
  5. listed in the :command:`add_dependencies` command.
  6. The OLD behavior for this policy is to silently ignore non-existent
  7. dependencies. The NEW behavior for this policy is to report an error
  8. if non-existent dependencies are listed in the :command:`add_dependencies`
  9. command.
  10. This policy was introduced in CMake version 3.0.
  11. CMake version |release| warns when the policy is not set and uses
  12. OLD behavior. Use the cmake_policy command to set it to OLD or
  13. NEW explicitly.
  14. .. include:: DEPRECATED.txt