summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-11-24 12:28:34 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-12-01 01:24:07 +0000
commit210e036488e109065d522cbb09c54094227ae9a8 (patch)
treef737f33ff970aaafdbaf5a4f1ddc2e98f2f7880c
parentRemove QMAKE_RANLIB and QMAKE_LINK_SHLIB from android/default_pre.prf (diff)
downloadqtbase-210e036488e109065d522cbb09c54094227ae9a8.tar.xz
qtbase-210e036488e109065d522cbb09c54094227ae9a8.zip
Add INTERFACE_LIBRARIES to dependencies of repo targets
Building repo targets may be incomplete as we skip adding INTERFACE_LIBRARIES as dependencies. This leads to the missing artifacts belonging to HEADER_MODULES. It seems reasonable and safe to include INTERFACE_LIBRARIES in the list of dependencies of the repo targets. Task-number: QTBUG-108815 Change-Id: I83f44018f42dcf2fb1e3299461e17ef53e79c2e5 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit ada76ac8b6ef6f4e8e6b60569c3d424aab335c3a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--cmake/QtBuildInternals/QtBuildInternalsConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
index 9731eda061..f51e4d6ab5 100644
--- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
+++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
@@ -255,7 +255,7 @@ macro(qt_build_internals_get_repo_targets subdir)
if(_targets)
foreach(_target IN LISTS _targets)
get_target_property(_type ${_target} TYPE)
- if(NOT (${_type} STREQUAL "UTILITY" OR ${_type} STREQUAL "INTERFACE"))
+ if(NOT ${_type} STREQUAL "UTILITY")
list(APPEND qt_repo_targets "${_target}")
endif()
endforeach()