diff --git a/cmake/QtPublicSbomFileHelpers.cmake b/cmake/QtPublicSbomFileHelpers.cmake index 746dbfad486..838a94ae42f 100644 --- a/cmake/QtPublicSbomFileHelpers.cmake +++ b/cmake/QtPublicSbomFileHelpers.cmake @@ -51,6 +51,7 @@ function(_qt_internal_sbom_handle_target_binary_files target) # This will be meant for user projects, and are not currently used by Qt's sbom. THIRD_PARTY_LIBRARY THIRD_PARTY_LIBRARY_WITH_FILES + THIRD_PARTY_SOURCES EXECUTABLE LIBRARY TRANSLATIONS @@ -71,6 +72,7 @@ function(_qt_internal_sbom_handle_target_binary_files target) QT_CUSTOM_NO_INFIX SYSTEM_LIBRARY THIRD_PARTY_LIBRARY + THIRD_PARTY_SOURCES TRANSLATIONS RESOURCES CUSTOM diff --git a/cmake/QtPublicSbomHelpers.cmake b/cmake/QtPublicSbomHelpers.cmake index dd93b4336d1..ebd99269a5a 100644 --- a/cmake/QtPublicSbomHelpers.cmake +++ b/cmake/QtPublicSbomHelpers.cmake @@ -1616,6 +1616,8 @@ function(_qt_internal_sbom_get_package_infix type out_infix) set(package_infix "3rdparty-library") elseif(type STREQUAL "THIRD_PARTY_LIBRARY_WITH_FILES") set(package_infix "3rdparty-library-with-files") + elseif(type STREQUAL "THIRD_PARTY_SOURCES") + set(package_infix "3rdparty-sources") elseif(type STREQUAL "TRANSLATIONS") set(package_infix "translations") elseif(type STREQUAL "RESOURCES") @@ -1665,6 +1667,8 @@ function(_qt_internal_sbom_get_package_purpose type out_purpose) set(package_purpose "LIBRARY") elseif(type STREQUAL "THIRD_PARTY_LIBRARY_WITH_FILES") set(package_purpose "LIBRARY") + elseif(type STREQUAL "THIRD_PARTY_SOURCES") + set(package_purpose "LIBRARY") elseif(type STREQUAL "TRANSLATIONS") set(package_purpose "OTHER") elseif(type STREQUAL "RESOURCES")