CMP0046.rst 641 B

12345678910111213141516171819
  1. CMP0046
  2. -------
  3. .. |REMOVED_IN_CMAKE_VERSION| replace:: 4.0
  4. .. include:: include/REMOVED_PROLOGUE.rst
  5. Error on non-existent dependency in add_dependencies.
  6. CMake 2.8.12 and lower silently ignored non-existent dependencies
  7. listed in the :command:`add_dependencies` command.
  8. The ``OLD`` behavior for this policy is to silently ignore non-existent
  9. dependencies. The ``NEW`` behavior for this policy is to report an error
  10. if non-existent dependencies are listed in the :command:`add_dependencies`
  11. command.
  12. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.0
  13. .. |WARNED_OR_DID_NOT_WARN| replace:: warned
  14. .. include:: include/REMOVED_EPILOGUE.rst