CMake: Add rudimentary c++2b feature
This fixes the "Could not find feature c++2b." error when building a Qt
module with qmake.
The feature is OFF by default for now.
This amends commit b5ed3cb7ba
.
Pick-to: 6.2 6.3
Change-Id: Ibabe3ce29275699e66ab1f32d19d583d6bcede9e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
fbe6f19853
commit
252e3a1526
@ -641,6 +641,11 @@ qt_feature("c++2a" PUBLIC
|
||||
CONDITION QT_FEATURE_cxx20
|
||||
)
|
||||
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("c89"
|
||||
LABEL "C89"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user