Merge topic 'doc-CMP0128' into release-3.22

8371056fbb Help: Correct inaccuracies in wording for CMP0128

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !6711
This commit is contained in:
Craig Scott
2021-11-10 10:47:18 +00:00
committed by Kitware Robot
+3 -1
View File
@@ -6,6 +6,7 @@ CMP0128
When this policy is set to ``NEW``:
* :prop_tgt:`<LANG>_EXTENSIONS` is initialized to
:variable:`CMAKE_<LANG>_EXTENSIONS` if set, otherwise falling back to
:variable:`CMAKE_<LANG>_EXTENSIONS_DEFAULT`.
* Extensions are correctly disabled/enabled if :prop_tgt:`<LANG>_STANDARD` is
@@ -16,7 +17,8 @@ When this policy is set to ``NEW``:
The ``OLD`` behavior:
* Initializes :prop_tgt:`<LANG>_EXTENSIONS` to ``ON``.
* Initializes :prop_tgt:`<LANG>_EXTENSIONS` to
:variable:`CMAKE_<LANG>_EXTENSIONS` if set, otherwise falling back to ``ON``.
* Always adds a flag if :prop_tgt:`<LANG>_STANDARD` is set and
:prop_tgt:`<LANG>_STANDARD_REQUIRED` is ``OFF``.