diff options
-rw-r--r-- | cmake/QtHeadersClean.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/QtHeadersClean.cmake b/cmake/QtHeadersClean.cmake index 8abb34ff9e..b6706f571d 100644 --- a/cmake/QtHeadersClean.cmake +++ b/cmake/QtHeadersClean.cmake @@ -144,8 +144,8 @@ function(qt_internal_add_headers_clean_target endif() endif() - # Use strict mode C++17, with no GNU extensions (see -pedantic-errors above). - list(APPEND hcleanFLAGS -std=c++17) + # Use strict mode C++20, with no GNU extensions (see -pedantic-errors above). + list(APPEND hcleanFLAGS -std=c++2a) set(cxx_flags ${CMAKE_CXX_FLAGS}) |