CMake: Remove type restriction on attribution file extra SBOM info
So it can be used in other non-Qt projects. Pick-to: 6.8 6.9 Task-number: QTBUG-122899 Change-Id: I11d81d2c6819906fffbffe81f4db1b7af28cb99b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
422f5d859f
commit
6cd7f0c09b
@ -963,12 +963,7 @@ function(_qt_internal_sbom_add_target target)
|
|||||||
list(APPEND project_package_options ${purl_package_options})
|
list(APPEND project_package_options ${purl_package_options})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(arg_USE_ATTRIBUTION_FILES
|
if(arg_USE_ATTRIBUTION_FILES)
|
||||||
AND (is_qt_3rd_party_entity_type
|
|
||||||
OR arg_TYPE STREQUAL "SYSTEM_LIBRARY"
|
|
||||||
OR arg_TYPE STREQUAL "THIRD_PARTY_LIBRARY"
|
|
||||||
OR arg_TYPE STREQUAL "THIRD_PARTY_LIBRARY_WITH_FILES")
|
|
||||||
)
|
|
||||||
if(qa_attribution_name)
|
if(qa_attribution_name)
|
||||||
string(APPEND package_comment " Name: ${qa_attribution_name}\n")
|
string(APPEND package_comment " Name: ${qa_attribution_name}\n")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user