diff options
author | Craig Scott <craig.scott@crascit.com> | 2021-11-10 10:47:18 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-11-10 10:47:34 (GMT) |
commit | 5b96ff825e40c131102a8afc4a256fa38c6f64d1 (patch) | |
tree | f09036f77675a3e30c0506f777ffd304a57cd6aa /Help/policy | |
parent | 4b5fa96e8011ba16895804b7745143c153e1ce2a (diff) | |
parent | 8371056fbb9b24f4967bbdfd95a64e8fcd44ea0c (diff) | |
download | CMake-5b96ff825e40c131102a8afc4a256fa38c6f64d1.zip CMake-5b96ff825e40c131102a8afc4a256fa38c6f64d1.tar.gz CMake-5b96ff825e40c131102a8afc4a256fa38c6f64d1.tar.bz2 |
Merge topic 'doc-CMP0128'
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
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``. |