Skip to content

Commit

Permalink
CMake: remove a duplicate check for C++2b
Browse files Browse the repository at this point in the history
Change-Id: Ie617fa277fc3a36b5e2f34ae1b79099193ae1b17
Pick-to: 6.7 6.6
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
dangelog committed Feb 29, 2024
1 parent d0852b9 commit 918ac58
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -633,13 +633,9 @@ qt_feature_config("c++2a" QMAKE_PUBLIC_QT_CONFIG)
qt_feature("c++2b" PUBLIC
LABEL "C++2b"
AUTODETECT OFF
)
qt_feature_config("c++2b" QMAKE_PUBLIC_QT_CONFIG)
qt_feature("c++2b" PUBLIC
LABEL "C++2b"
AUTODETECT FALSE
CONDITION QT_FEATURE_cxx20 AND (CMAKE_VERSION VERSION_GREATER_EQUAL "3.20") AND TEST_cxx2b
)
qt_feature_config("c++2b" QMAKE_PUBLIC_QT_CONFIG)
qt_feature("precompile_header"
LABEL "Using precompiled headers"
CONDITION BUILD_WITH_PCH AND TEST_precompile_header
Expand Down

0 comments on commit 918ac58

Please sign in to comment.