diff options
author | Rolf Eike Beer <eb@emlix.com> | 2022-09-02 09:12:48 +0200 |
---|---|---|
committer | Rolf Eike Beer <eb@emlix.com> | 2022-09-05 06:49:34 +0200 |
commit | 60829b0b257e62056aa32a7e58863b2c30bbdc89 (patch) | |
tree | 5d78a27724b187f2da9b6c9bd2ddbfa0be546a85 /src/plugins/platforms/android | |
parent | 3b91bab465420bc6725bc9989f131e1c460c10d8 (diff) |
CMake: allow user specified boolean values to have any case
When running something like this:
cmake -D FEATURE_xkbcommon=On qtbase
one would run into issues like:
CMake Error at cmake/QtFeature.cmake:254 (message):
Sanity check failed: FEATURE_xkbcommon has invalid value "On"!
Call Stack (most recent call first):
cmake/QtFeature.cmake:396 (qt_feature_check_and_save_user_provided_value)
cmake/QtFeature.cmake:606 (qt_evaluate_feature)
cmake/QtFeature.cmake:575 (qt_feature_module_end)
src/CMakeLists.txt:12 (qt_feature_evaluate_features)
Change-Id: I33a921625b97aeb3c423cb7c1fb1bd3b05ce24a7
Pick-to: 6.4 6.3 6.2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/platforms/android')
0 files changed, 0 insertions, 0 deletions