Skip to content

Commit

Permalink
Help: Suggest CMAKE_POLICY_DEFAULT_CMP0077 in CMP0077 docs
Browse files Browse the repository at this point in the history
Issue: #20490
  • Loading branch information
bradking committed Nov 22, 2021
1 parent c44636a commit 5b1c242
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Help/policy/CMP0077.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ between the two policies.
This policy was introduced in CMake version 3.13. CMake version
|release| warns when the policy is not set and uses ``OLD`` behavior.
Use the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW``
explicitly.
explicitly within a project. Use the :variable:`CMAKE_POLICY_DEFAULT_CMP0077
<CMAKE_POLICY_DEFAULT_CMP\<NNNN\>>` variable to set the policy for
a third-party project in a subdirectory without modifying it.

.. include:: DEPRECATED.txt

0 comments on commit 5b1c242

Please sign in to comment.