summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-11-08 21:52:27 +1100
committerCraig Scott <craig.scott@crascit.com>2021-11-09 07:37:09 +1100
commit8371056fbb9b24f4967bbdfd95a64e8fcd44ea0c (patch)
tree8c6ff4c41e9f23c6aaaf00a2e3c392e02874b1fb
parentced697d2846abea4b320647a46213c6e130c9a8b (diff)
downloadcmake-8371056fbb9b24f4967bbdfd95a64e8fcd44ea0c.tar.gz
Help: Correct inaccuracies in wording for CMP0128
-rw-r--r--Help/policy/CMP0128.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/policy/CMP0128.rst b/Help/policy/CMP0128.rst
index f341f24abf..b894ce1fd7 100644
--- a/Help/policy/CMP0128.rst
+++ b/Help/policy/CMP0128.rst
@@ -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``.