diff options
-rw-r--r-- | cmake/QtProcessConfigureArgs.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake index 4f24d635e5..bad7418779 100644 --- a/cmake/QtProcessConfigureArgs.cmake +++ b/cmake/QtProcessConfigureArgs.cmake @@ -131,6 +131,9 @@ while(configure_args) elseif(arg STREQUAL "-device-option") list(POP_FRONT configure_args opt) list(APPEND device_options "${opt}") + elseif(arg STREQUAL "-qtnamespace") + list(POP_FRONT configure_args namespace) + push("-DQT_NAMESPACE=${namespace}") elseif(arg STREQUAL "--") # Everything after this argument will be passed to CMake verbatim. push(${configure_args}) |