summaryrefslogtreecommitdiff
path: root/cmake/QtProcessConfigureArgs.cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-05-10 09:46:27 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-05-10 10:08:53 +0200
commit23e6eb53f3cb2479c91c0bbb24f049ba81ac8f84 (patch)
tree6b8daa576ebb58e01146d8019a2ac13a5d83ab54 /cmake/QtProcessConfigureArgs.cmake
parentee05af296f65e240f64db6470cdddafbddbf2fa3 (diff)
downloadqtbase-23e6eb53f3cb2479c91c0bbb24f049ba81ac8f84.tar.gz
Fix developer build
The -developer-build had not the desired effect anymore. That argument must not be hidden from the feature logic. This amends commit d5c3e1336bc. Change-Id: I96562ea2df43ba7de002e705f28c7cc7edb4a589 Reviewed-by: Kai Koehne <kai.koehne@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 f793096e50..24e8c64dc6 100644
--- a/cmake/QtProcessConfigureArgs.cmake
+++ b/cmake/QtProcessConfigureArgs.cmake
@@ -93,6 +93,8 @@ while(NOT "${configure_args}" STREQUAL "")
push("-DINSTALL_MKSPECSDIR=${path}")
elseif(arg STREQUAL "-developer-build")
set(developer_build TRUE)
+ # Treat this argument as "unhandled" to process it further.
+ set_property(GLOBAL APPEND PROPERTY UNHANDLED_ARGS "${arg}")
elseif(arg STREQUAL "-cmake-file-api")
set(cmake_file_api TRUE)
elseif(arg STREQUAL "-no-cmake-file-api")