Commit d60da5e
build: Fix issue with missing TBB::tbb target in pxrConfig.cmake
Change 2369739 updated USD to specify library dependencies on TBB
with the more modern TBB::tbb target. This caused the targets in
USD's package config file to specify TBB::tbb as an interface link
library instead of the absolute path to the .so/.dll.
This caused problems when trying to link other cmake-based projects
to the USD package for USD builds using legacy TBB. In this case,
the TBB::tbb target (typically) is created by USD internally and
isn't available to clients, which caused "target was not found"
errors.
This fix recreates the TBB::tbb target in pxrConfig.cmake to ensure
its available in the above case. This should yield the same behavior
as before the change mentioned above.
(Internal change: 2372031)1 parent 43fd404 commit d60da5e
2 files changed
+48
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
26 | 60 | | |
27 | 61 | | |
28 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
57 | 71 | | |
58 | 72 | | |
59 | 73 | | |
| |||
0 commit comments