summaryrefslogtreecommitdiffstats
path: root/qt_cmdline.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'qt_cmdline.cmake')
-rw-r--r--qt_cmdline.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/qt_cmdline.cmake b/qt_cmdline.cmake
index 3abd265e9c7..8f68a40f3ff 100644
--- a/qt_cmdline.cmake
+++ b/qt_cmdline.cmake
@@ -174,12 +174,19 @@ function(qt_commandline_cxxstd arg val nextok)
if(val MATCHES "(c\\+\\+)?(17|1z)")
qtConfCommandlineDisableFeature(c++20)
qtConfCommandlineDisableFeature(c++2b)
+ qtConfCommandlineDisableFeature(c++2c)
elseif(val MATCHES "(c\\+\\+)?(20|2a)")
qtConfCommandlineEnableFeature(c++20)
qtConfCommandlineDisableFeature(c++2b)
+ qtConfCommandlineDisableFeature(c++2c)
elseif(val MATCHES "(c\\+\\+)?(23|2b)")
qtConfCommandlineEnableFeature(c++20)
qtConfCommandlineEnableFeature(c++2b)
+ qtConfCommandlineDisableFeature(c++2c)
+ elseif(val MATCHES "(c\\+\\+)?(2c)")
+ qtConfCommandlineEnableFeature(c++20)
+ qtConfCommandlineEnableFeature(c++2b)
+ qtConfCommandlineEnableFeature(c++2c)
else()
qtConfAddError("Invalid argument '${val}' to command line parameter '${arg}'")
endif()