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