CMake: Fix purl variant list iteration
The correct syntax is IN LISTS, not IN_LIST. 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> (cherry picked from commit 7d0b4be42d92de9a0ad27cc6da4ce415556c10f6)
This commit is contained in:
parent
d66ddbbfd4
commit
897e05c385
@ -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