summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2022-01-22 15:29:45 (GMT)
committerRaul Tambre <raul@tambre.ee>2022-01-23 21:10:28 (GMT)
commitee1396e29e98dbd3a4517ce364a534c80bc6fb4a (patch)
tree4733f62457243d208594a854e42ec0f5e1424943 /Help/release
parentb2c25de8e0e2d53d3ff2ad37ed33d4b8a9bf8b1a (diff)
downloadCMake-ee1396e29e98dbd3a4517ce364a534c80bc6fb4a.zip
CMake-ee1396e29e98dbd3a4517ce364a534c80bc6fb4a.tar.gz
CMake-ee1396e29e98dbd3a4517ce364a534c80bc6fb4a.tar.bz2
CMP0128: Add flag in OLD mode even when standard matches the default
Commit 4a0485be (cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logic, 2021-04-29) unintentionally changed the behavior by modifying the code to match a pre-existing comment. The resulting behavior change however matches the intentions of CMP0128, so we simply need to guard it. Fixes #23122.
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/3.22.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/3.22.rst b/Help/release/3.22.rst
index fcb655d..4cc34fa 100644
--- a/Help/release/3.22.rst
+++ b/Help/release/3.22.rst
@@ -142,3 +142,9 @@ Other Changes
This became available as of VS 16.10 (toolchain version 14.29.30037).
* The :cpack_gen:`CPack NSIS Generator` now requires NSIS 3.03 or later.
+
+3.22.2
+------
+
+* The ``OLD`` behavior of :policy:`CMP0128` was fixed to add flags even when
+ the specified standard matches the compiler default.