Commit ce1bf03
CMake: Fix SBOM configuration error with CMake 3.16
SBOM generation attempts to access the SOURCE_DIR property of
interface libraries to derive a file source location.
This causes a configure error when using CMake 3.16 which doesn't
allow accessing properties not starting with INTERFACE_ on interface
libraries.
Interface libraries don't have a source dir anyway, so skip extracting
the directory for interface libraries to avoid the error.
Pick-to: 6.10 6.8
Change-Id: If70da1908dee9aba06da37aff5b0d12633a7623a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 72a47e1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>1 parent 5098aa9 commit ce1bf03
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
291 | 298 | | |
292 | 299 | | |
293 | 300 | | |
| |||
0 commit comments