Commit f3c2f01
committed
options: Build maya IECoreUSD against the maya-usd plugin libraries if installed
Note:
- Autodesk does ship the USD libraries but not the header files. We
try to find a local USD install of the version maya-usd is using and
set the include directory respectively. If there is no compatible
USD version present, we fall back to the cortex defined USD version
and build `IECoreUSD` for Maya against this one.
- In the transition from python 2 to 3, maya-usd is shipped with the
libraries for both versions, so we have to add the python major
version suffix for Maya 2022.
The library folders for Maya 2020.4 don't have this suffix and because
Maya 2023 is supposed to be python3 exclusively (Autodesk release
notes),we assume the suffix to be removed in that version again1 parent 210c457 commit f3c2f01
1 file changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
329 | 352 | | |
330 | 353 | | |
331 | 354 | | |
| |||
0 commit comments