Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.3.0 Feature Freeze
-
None
-
68ad67b6faf6922c66ddafee0dc055666a73cddd (qt/qtbase/dev) 3e98ad97b56b90047fa96da4ab6429fbb556ec5d (qt/qtbase/6.2)
Description
The build system does not accept -DFEATURE_cxx20:BOOL=TRUE, it insists on a string ON or OFF. This is inconsistent with -DFEATURE_developer_build build, for example (fixed in QTBUG-95732). It would be good if any CMake boolean values would be accepted.
cmake] CMake Error at qtbase/cmake/QtFeature.cmake:545 (message): [cmake] cxx20 has unexpected value "TRUE"! Valid values are ON, OFF and UNSET. [cmake] Call Stack (most recent call first): [cmake] qtbase/cmake/QtFeature.cmake:553 (qt_internal_generate_feature_line) [cmake] qtbase/cmake/QtFeature.cmake:653 (qt_internal_feature_write_file) [cmake] qtbase/cmake/QtBaseGlobalTargets.cmake:103 (qt_feature_module_end) [cmake] qtbase/CMakeLists.txt:107 (include)
Attachments
Issue Links
- relates to
-
QTBUG-95732 The build system does not work correctly with -DFEATURE_developer_build:BOOL=TRUE
- Closed