summaryrefslogtreecommitdiffstats
path: root/cmake/QtProcessConfigureArgs.cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-10-13 11:56:49 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-10-17 23:27:31 +0200
commit73f9c514dc01e26735b7162756ee6344ea9ac025 (patch)
tree80ab234f06f0510695bd7d5c0f51ae3b3202b567 /cmake/QtProcessConfigureArgs.cmake
parentd6ff54a1aec4a7680a093acb941b6cd698acf6e8 (diff)
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>
Diffstat (limited to 'cmake/QtProcessConfigureArgs.cmake')
-rw-r--r--cmake/QtProcessConfigureArgs.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake
index a54edb3212..704abfe1a8 100644
--- a/cmake/QtProcessConfigureArgs.cmake
+++ b/cmake/QtProcessConfigureArgs.cmake
@@ -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)