Help: Correct inaccuracies in wording for CMP0128

This commit is contained in:
Craig Scott
2021-11-08 21:52:27 +11:00
parent ced697d284
commit 8371056fbb

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``.