CMake: Ignore license-related configure arguments
Do not print warnings for the configure arguments -commercial, -opensource and -confirm-license. We're not removing the arguments yet to keep existing build scripts working. Fixes: QTBUG-86096 Change-Id: Ieb63e2f2b81c022e8559cde6c3e0be0b8ce655ca Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
d6ff54a1ae
commit
73f9c514dc
@ -550,6 +550,8 @@ macro(translate_list_input name cmake_var)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
drop_input(commercial)
|
||||
drop_input(confirm-license)
|
||||
translate_boolean_input(precompile_header BUILD_WITH_PCH)
|
||||
translate_boolean_input(ccache QT_USE_CCACHE)
|
||||
translate_boolean_input(shared BUILD_SHARED_LIBS)
|
||||
|
@ -20,9 +20,9 @@ The effort of this is tracked in QTBUG-85373 and QTBUG-85349.
|
||||
| -list-features | | At the moment: configure with cmake once, |
|
||||
| | | then use ccmake or cmake-gui to inspect the features. |
|
||||
| -list-libraries | | |
|
||||
| -opensource | | |
|
||||
| -commercial | | |
|
||||
| -confirm-license | | |
|
||||
| -opensource | n/a | |
|
||||
| -commercial | n/a | |
|
||||
| -confirm-license | n/a | |
|
||||
| -release | -DCMAKE_BUILD_TYPE=Release | |
|
||||
| -debug | -DCMAKE_BUILD_TYPE=Debug | |
|
||||
| -debug-and-release | -G "Ninja Multi-Config" | |
|
||||
|
Loading…
Reference in New Issue
Block a user