CMake: Remove type restriction on attribution download location

So it can be read / used in other non-Qt projects. We don't have such
a restriction on other keys read from the qt attribution files.

Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I225d83b26c68323761a8b13b3e6442057b5f7c7f
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 422f5d859f3056433e6ee33ea389f2ecff1543d5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexandru Croitor 2025-02-20 19:46:27 +01:00 committed by Qt Cherry-pick Bot
parent 0e7f52c872
commit bccb4c8328

View File

@ -847,9 +847,7 @@ function(_qt_internal_sbom_add_target target)
endif()
endif()
if(arg_USE_ATTRIBUTION_FILES
AND (arg_TYPE STREQUAL "QT_THIRD_PARTY_MODULE"
OR arg_TYPE STREQUAL "QT_THIRD_PARTY_SOURCES"))
if(arg_USE_ATTRIBUTION_FILES)
if(qa_download_location)
set(download_location "${qa_download_location}")
elseif(qa_homepage)