diff options
Diffstat (limited to 'Help/policy/CMP0128.rst')
-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``. |