CMake: Fix purl variant list iteration
The correct syntax is IN LISTS, not IN_LIST. Pick-to: 6.8 Task-number: QTBUG-122899 Change-Id: Ibf64e48ffcf0b061887b7b015096d588b14bce57 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 4c5d9a3ca339f36f10922f9b1d5849fca1f2bdc4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
b07580da56
commit
7d0b4be42d
@ -3805,7 +3805,7 @@ function(_qt_internal_sbom_handle_purl_values target)
|
||||
# If handling another entity type, handle based on whether any of the purl arguments are
|
||||
# set.
|
||||
set(known_purl_variants QT MIRROR 3RDPARTY_UPSTREAM)
|
||||
foreach(known_purl_variant IN_LIST known_purl_variants)
|
||||
foreach(known_purl_variant IN LISTS known_purl_variants)
|
||||
if(arg_PURL_${known_purl_variant}_ARGS)
|
||||
list(APPEND purl_variants ${known_purl_variant})
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user