diff options
author | Craig Scott <craig.scott@crascit.com> | 2021-11-08 10:52:27 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2021-11-08 20:37:09 (GMT) |
commit | 8371056fbb9b24f4967bbdfd95a64e8fcd44ea0c (patch) | |
tree | 8c6ff4c41e9f23c6aaaf00a2e3c392e02874b1fb /Help/policy | |
parent | ced697d2846abea4b320647a46213c6e130c9a8b (diff) | |
download | CMake-8371056fbb9b24f4967bbdfd95a64e8fcd44ea0c.zip CMake-8371056fbb9b24f4967bbdfd95a64e8fcd44ea0c.tar.gz CMake-8371056fbb9b24f4967bbdfd95a64e8fcd44ea0c.tar.bz2 |
Help: Correct inaccuracies in wording for CMP0128
Diffstat (limited to 'Help/policy')
-rw-r--r-- | Help/policy/CMP0128.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/policy/CMP0128.rst b/Help/policy/CMP0128.rst index f341f24..b894ce1 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``. |