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.

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>
(cherry picked from commit bccb4c8328713849993e935cb517d8821301e5d6)
bb10
Alexandru Croitor 2025-02-20 19:46:27 +01:00 committed by Qt Cherry-pick Bot
parent d13a416d00
commit baa93a5591
1 changed files with 1 additions and 3 deletions

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)