mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 13:27:09 +00:00
install(SBOM) could crash for dependencies outside an export set and mishandle private dependencies expressed through LINK_ONLY. Resolve link expressions before target lookup, traverse unexported dependencies transitively, and isolate document state per configuration. Preserve target license precedence and align document metadata inheritance with CPS. Add regression coverage for these cases. Fixes: #28141 Fixes: #28210
4 lines
131 B
CMake
4 lines
131 B
CMake
include(${CMAKE_CURRENT_LIST_DIR}/../Sbom/UninstalledStaticLibrary.cmake)
|
|
|
|
install(SBOM baz EXPORTS baz FORMAT spdx DESTINATION .)
|