Commit ecea8d8
build_usd.py: Ensure use of TBB libraries from build script
This fixes an issue where the OpenUSD build could incorrectly pick up a
oneTBB library from somewhere else on the system instead of the library
built by the build script.
This change adds a new PXR_FIND_TBB_IN_CONFIG option to explicitly control
whether to find TBB in config mode or via the FindTBB.cmake module. build_usd.py
enables this option if using oneTBB and disables it when using legacy TBB.
This ensures the build only uses the appropriate mechanism for whichever
library is built by the script.
By default this option is unset, so clients building OpenUSD via cmake directly
will see no changes in behavior.
Fixes #3610
(Internal change: 2380256)1 parent 005d700 commit ecea8d8
2 files changed
+21
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1672 | 1672 | | |
1673 | 1673 | | |
1674 | 1674 | | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
1675 | 1680 | | |
1676 | 1681 | | |
1677 | 1682 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | | - | |
114 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
| |||
0 commit comments