mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-25 00:15:11 +08:00
Ensure that the list of modules to exclude is not empty
Change-Id: I4ad2044966d793f7d2596336120942d65d2187d9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
@@ -1004,7 +1004,9 @@ macro(qt_ir_get_submodules prefix out_var_submodules)
|
||||
|
||||
# Then remove any explicitly specified submodules.
|
||||
set(submodules_with_deps_and_excluded "${submodules_with_deps}")
|
||||
list(REMOVE_ITEM submodules_with_deps_and_excluded ${modules_to_exclude})
|
||||
if(modules_to_exclude)
|
||||
list(REMOVE_ITEM submodules_with_deps_and_excluded ${modules_to_exclude})
|
||||
endif()
|
||||
|
||||
if(NOT perl_identical_output_for_tests AND modules_to_exclude)
|
||||
message(DEBUG "Repos that will be excluded after dependency handling: ${modules_to_exclude}")
|
||||
|
||||
Reference in New Issue
Block a user