1CMP0073 2------- 3 4.. versionadded:: 3.12 5 6Do not produce legacy ``_LIB_DEPENDS`` cache entries. 7 8Ancient CMake versions once used ``<tgt>_LIB_DEPENDS`` cache entries to 9propagate library link dependencies. This has long been done by other 10means, leaving the :command:`export_library_dependencies` command as the 11only user of these values. That command has long been disallowed by 12policy :policy:`CMP0033`, but the ``<tgt>_LIB_DEPENDS`` cache entries 13were left for compatibility with possible non-standard uses by projects. 14 15CMake 3.12 and above now prefer to not produce these cache entries 16at all. This policy provides compatibility with projects that have 17not been updated to avoid using them. 18 19The ``OLD`` behavior for this policy is to set ``<tgt>_LIB_DEPENDS`` cache 20entries. The ``NEW`` behavior for this policy is to not set them. 21 22This policy was introduced in CMake version 3.12. Use the 23:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. 24Unlike most policies, CMake version |release| does *not* warn 25when this policy is not set and simply uses ``OLD`` behavior. 26 27.. include:: DEPRECATED.txt 28