mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 07:28:21 +08:00
Fix ignored submodules if a submodule does not have a dependency.yaml
If a subdirectory has a CMakeLists.txt file, but no dependency.yaml file qt_internal_add_module_dependencies will bail out early, with out_module_dependencies being empty. Pick-to: 6.1 Fixes: QTBUG-92257 Change-Id: I024e812e9debd3c83b24bf306ff0375b2cb08659 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -124,8 +124,9 @@ function(qt_internal_sort_module_dependencies modules out_all_ordered dependenci
|
||||
"${${module_dependencies_list_var_name}}" PARENT_SCOPE)
|
||||
if(NOT module_depends)
|
||||
list(APPEND no_dependencies "${module}")
|
||||
else()
|
||||
set(ordered "${out_ordered}")
|
||||
endif()
|
||||
set(ordered "${out_ordered}")
|
||||
endforeach()
|
||||
if (no_dependencies)
|
||||
list(APPEND ordered "${no_dependencies}")
|
||||
|
||||
Reference in New Issue
Block a user