Skip to content
Snippets Groups Projects
Commit dd31068b authored by Brad King's avatar Brad King
Browse files

Merge branch 'doc-3.15-std-fix' into release-3.16

Merge-request: !4574
parents 3f1cd551 182a1044
No related branches found
No related tags found
No related merge requests found
......@@ -332,6 +332,15 @@ Deprecated and Removed Features
Other Changes
=============
* If a feature specified by :command:`target_compile_features` is available
in the compiler's default standard level, CMake 3.14 and below incorrectly
added unnecessary ``-std=`` flags that could lower the standard level.
This bug has been fixed in CMake 3.15. This behavior change may expose
bugs in existing projects that were relying on undocumented implementation
details. Specifying compile features only ensures that the compiler runs
in a mode that has those features, not that any specific standard level is
used or explicit ``-std=`` flag passed.
* CMake learned how to compile C++14 with the IBM AIX XL compiler
and the SunPro compiler and to compile C++20 with the AppleClang compiler.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment