CMake: Remove double addition of LicenseRef-ICC-License to the SBOM

It's already automatically added as part of the license iteration code
in _qt_internal_sbom_begin_project which globs
${PROJECT_SOURCE_DIR}/LICENSES/LicenseRef-*.txt and adds those.

Adding it a second time manually is unnecessary, and breaks conversion
to SPDX 3.0 with the spdx java preliminary tool.

Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: Id42a02c6f2e536880b37a0ed773cf62426b46b97
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor 2024-10-07 19:24:28 +02:00
parent adfa4cafdb
commit b11aaf066e

View File

@ -318,10 +318,6 @@ if(QT_FEATURE_pdf)
ATTRIBUTION_FILE_DIR_PATHS
../3rdparty/icc
)
qt_internal_sbom_add_license(
LICENSE_ID "ICC-License"
LICENSE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/icc/LICENSE.txt"
)
qt_internal_add_resource(Gui "qpdf"
PREFIX