summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-02-09 13:12:09 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-10 09:13:11 +0000
commitfe38ba8cf34cd5cb8e0fc4fe80991d7171db4765 (patch)
tree4dcf064ee2b875dd83e73765e556f3d366d0e876 /util
parent4f2f53dd7f4291976a66f821af25d32becb02345 (diff)
Update name of c++2a to c++20
Keep the c++2a feature, but make it an alias for compatibility purposes. Change-Id: I6f153109be84659806f1b7a57a88a187875166d8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 3c412c93c251862a2791557881f9232fd76fda79) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/configurejson2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 1f7d838dc8..160557e18d 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -709,7 +709,7 @@ def write_compile_test(
languageStandard = "CXX_STANDARD 14"
elif details["qmake"] == "CONFIG += c++11 c++14 c++17":
languageStandard = "CXX_STANDARD 17"
- elif details["qmake"] == "CONFIG += c++11 c++14 c++17 c++2a":
+ elif details["qmake"] == "CONFIG += c++11 c++14 c++17 c++20":
languageStandard = "CXX_STANDARD 20"
elif details["qmake"] == "QMAKE_CXXFLAGS += -fstack-protector-strong":
compileOptions = details["qmake"][18:]