CMake: Fix LINK_LIBRARIES not being properly processed for SBOM

There was a typo in the link_libraries variable name, where an upper
case 'L' was used instead of a lower case 'l'.

Pick-to: 6.8 6.9
Task-number: QTBUG-122899
Change-Id: I206a161107cf7510856ad8740dada88e12341e94
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Alexandru Croitor 2025-01-09 16:48:55 +01:00
parent 1a82056000
commit 2affe46b25

View File

@ -1079,7 +1079,7 @@ function(_qt_internal_sbom_handle_target_dependencies target)
if(target_type IN_LIST valid_target_types)
get_target_property(link_libraries "${target}" LINK_LIBRARIES)
if(link_libraries)
list(APPEND libraries ${link_Libraries})
list(APPEND libraries ${link_libraries})
endif()
endif()